Skip to content

Commit 9c9006f

Browse files
committed
Pass minicore path via bootstrap when building compiletest step
1 parent 10c7321 commit 9c9006f

File tree

1 file changed

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

1 file changed

+4
-0
lines changed

Diff for: src/bootstrap/src/core/build_steps/test.rs

+4
Original file line numberDiff line numberDiff line change
@@ -1727,6 +1727,10 @@ NOTE: if you're sure you want to do this, please open an issue as to why. In the
17271727
cmd.arg("--run-lib-path").arg(builder.sysroot_libdir(compiler, target));
17281728
cmd.arg("--rustc-path").arg(builder.rustc(compiler));
17291729

1730+
// Minicore auxiliary lib for tests that need std/core stubs in cross-compilation scenarios.
1731+
cmd.arg("--minicore-path")
1732+
.arg(builder.src.join("tests").join("auxiliary").join("minicore.rs"));
1733+
17301734
let is_rustdoc = suite.ends_with("rustdoc-ui") || suite.ends_with("rustdoc-js");
17311735

17321736
if mode == "run-make" {

0 commit comments

Comments
 (0)