bootstrap: pass minicore path when running compiletest step
This commit is contained in:
parent
82c2e42894
commit
f9ca4201f8
@ -1725,6 +1725,11 @@ fn run(self, builder: &Builder<'_>) {
|
||||
cmd.arg("--run-lib-path").arg(builder.sysroot_libdir(compiler, target));
|
||||
cmd.arg("--rustc-path").arg(builder.rustc(compiler));
|
||||
|
||||
// Minicore auxiliary lib for `no_core` tests that need `core` stubs in cross-compilation
|
||||
// scenarios.
|
||||
cmd.arg("--minicore-path")
|
||||
.arg(builder.src.join("tests").join("auxiliary").join("minicore.rs"));
|
||||
|
||||
let is_rustdoc = suite.ends_with("rustdoc-ui") || suite.ends_with("rustdoc-js");
|
||||
|
||||
if mode == "run-make" {
|
||||
|
Loading…
Reference in New Issue
Block a user