Skip to content

Commit 5238337

Browse files
committed
bootstrap: remove --build-base and use --build-root and --build-test-suite-root instead
1 parent 5d6a6e7 commit 5238337

File tree

1 file changed

+5
-1
lines changed
  • src/bootstrap/src/core/build_steps

1 file changed

+5
-1
lines changed

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

+5-1
Original file line numberDiff line numberDiff line change
@@ -1774,7 +1774,11 @@ NOTE: if you're sure you want to do this, please open an issue as to why. In the
17741774
cmd.arg("--src-root").arg(&builder.src);
17751775
cmd.arg("--src-test-suite-root").arg(builder.src.join("tests").join(suite));
17761776

1777-
cmd.arg("--build-base").arg(testdir(builder, compiler.host).join(suite));
1777+
// N.B. it's important to distinguish between the *root* build directory, the *host* build
1778+
// directory immediately under the root build directory, and the test-suite-specific build
1779+
// directory.
1780+
cmd.arg("--build-root").arg(&builder.out);
1781+
cmd.arg("--build-test-suite-root").arg(testdir(builder, compiler.host).join(suite));
17781782

17791783
// When top stage is 0, that means that we're testing an externally provided compiler.
17801784
// In that case we need to use its specific sysroot for tests to pass.

0 commit comments

Comments
 (0)