Skip to content

Commit 58bef84

Browse files
committed
Pass minicore path via bootstrap when building compiletest step
1 parent 40fa914 commit 58bef84

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
@@ -1731,6 +1731,9 @@ NOTE: if you're sure you want to do this, please open an issue as to why. In the
17311731
cmd.arg("--run-lib-path").arg(builder.sysroot_libdir(compiler, target));
17321732
cmd.arg("--rustc-path").arg(builder.rustc(compiler));
17331733

1734+
// Minicore auxiliary lib for tests that need std/core stubs in cross-compilation scenarios.
1735+
cmd.arg("--minicore-path").arg("tests/auxiliary/minicore.rs");
1736+
17341737
let is_rustdoc = suite.ends_with("rustdoc-ui") || suite.ends_with("rustdoc-js");
17351738

17361739
if mode == "run-make" {

0 commit comments

Comments
 (0)