We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents fcf81b8 + af2247c commit 6fa92eaCopy full SHA for 6fa92ea
src/bootstrap/src/core/build_steps/test.rs
@@ -1637,7 +1637,10 @@ impl Step for Compiletest {
1637
return;
1638
}
1639
1640
- if builder.top_stage == 0 && env::var("COMPILETEST_FORCE_STAGE0").is_err() {
+ if builder.top_stage == 0
1641
+ && env::var("COMPILETEST_FORCE_STAGE0").is_err()
1642
+ && self.mode != "js-doc-test"
1643
+ {
1644
eprintln!("\
1645
ERROR: `--stage 0` runs compiletest on the beta compiler, not your local changes, and will almost always cause tests to fail
1646
HELP: to test the compiler, use `--stage 1` instead
0 commit comments