Skip to content

Commit dfd2901

Browse files
committed
update cargo submodule before running bootstrap unit tests
Signed-off-by: onur-ozkan <[email protected]>
1 parent 42ff03b commit dfd2901

File tree

1 file changed

+3
-0
lines changed
  • src/bootstrap/src/core/build_steps

1 file changed

+3
-0
lines changed

src/bootstrap/src/core/build_steps/test.rs

+3
Original file line numberDiff line numberDiff line change
@@ -3035,6 +3035,9 @@ impl Step for Bootstrap {
30353035
let compiler = builder.compiler(0, host);
30363036
let _guard = builder.msg(Kind::Test, 0, "bootstrap", host, host);
30373037

3038+
// Some tests require cargo submodule to be present.
3039+
builder.build.update_submodule(Path::new("src/tools/cargo"));
3040+
30383041
let mut check_bootstrap = Command::new(builder.python());
30393042
check_bootstrap
30403043
.args(["-m", "unittest", "bootstrap_test.py"])

0 commit comments

Comments
 (0)