276 if run.builder.top_stage == 0 {
277 eprintln!(
278▶ "ERROR: running cargotest with stage 0 is currently unsupported. Use at least stage 1."
279 );
280 exit!(1);
· · ·
694
695 // Miri has its own "target dir" for ui test dependencies. Make sure it gets cleared when
696▶ // the sysroot gets rebuilt, to avoid "found possibly newer version of crate `std`" errors.
697 if !builder.config.dry_run() {
698 // This has to match `CARGO_TARGET_TMPDIR` in Miri's `ui.rs`.
· · ·
754 // `MIRI_SKIP_UI_CHECKS` and `RUSTC_BLESS` are incompatible
755 cargo.env_remove("RUSTC_BLESS");
756▶ // Optimizations can change error locations and remove UB so don't run `fail` tests.
757 cargo.args(["tests/pass", "tests/panic"]);
758
· · ·
876 if builder.top_stage == 0 && !builder.config.compiletest_allow_stage0 {
877 eprintln!("\
878▶ERROR: `--stage 0` causes compiletest to query information from the stage0 (precompiled) compiler, instead of the in-tree compiler, which can cause some tests to fail inappropriately
879NOTE: if you're sure you want to do this, please open an issue as to why. In the meantime, you can override this with `--set build.compiletest-allow-stage0=true`."
880 );
· · ·
990 let _guard = builder.msg_test("clippy", target, target_compiler.stage);
991
992▶ // Clippy reports errors if it blessed the outputs
993 if cargo.allow_failure().run(builder) {
994 // The tests succeeded; nothing to do.
+ 20 more matches in this file