X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Fbootstrap%2Ftest.rs;h=176c06114e01df5de5a0401cec8c631604fc3d6b;hb=8985e5ee825a2fb1e5eb2050f0b3fd8e2913d322;hp=22bf6b8a9d4dce99392222a591a10154fb821e7d;hpb=d5a0c7cb036032288a4a5443b54ba061ec12ee26;p=rust.git diff --git a/src/bootstrap/test.rs b/src/bootstrap/test.rs index 22bf6b8a9d4..176c06114e0 100644 --- a/src/bootstrap/test.rs +++ b/src/bootstrap/test.rs @@ -1276,7 +1276,7 @@ fn run(self, builder: &Builder<'_>) { builder.ensure(native::TestHelpers { target: compiler.host }); // As well as the target, except for plain wasm32, which can't build it - if !target.contains("wasm32") || target.contains("emscripten") { + if !target.contains("wasm") || target.contains("emscripten") { builder.ensure(native::TestHelpers { target }); } @@ -1540,6 +1540,9 @@ fn run(self, builder: &Builder<'_>) { } } cmd.env("RUSTC_BOOTSTRAP", "1"); + // Override the rustc version used in symbol hashes to reduce the amount of normalization + // needed when diffing test output. + cmd.env("RUSTC_FORCE_RUSTC_VERSION", "compiletest"); cmd.env("DOC_RUST_LANG_ORG_CHANNEL", builder.doc_rust_lang_org_channel()); builder.add_rust_test_threads(&mut cmd);