Skip to content

Commit

Permalink
Pass minicore path via bootstrap when building compiletest step
Browse files Browse the repository at this point in the history
  • Loading branch information
jieyouxu committed Sep 22, 2024
1 parent b3a9c5f commit ba30572
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/bootstrap/src/core/build_steps/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1731,6 +1731,9 @@ NOTE: if you're sure you want to do this, please open an issue as to why. In the
cmd.arg("--run-lib-path").arg(builder.sysroot_libdir(compiler, target));
cmd.arg("--rustc-path").arg(builder.rustc(compiler));

// Minicore auxiliary lib for tests that need std/core stubs in cross-compilation scenarios.
cmd.arg("--minicore-path").arg("tests/auxiliary/minicore.rs");

let is_rustdoc = suite.ends_with("rustdoc-ui") || suite.ends_with("rustdoc-js");

if mode == "run-make" {
Expand Down

0 comments on commit ba30572

Please sign in to comment.