Rollup merge of #135375 - lolbinarycat:bootstrap-allow-stage0-rustdoc-js, r=jieyouxu
allow rustdoc-js tests to be run at stage0 this mirrors the behavior of rustdoc-js-std tests. previously this required COMPILETEST_FORCE_STAGE0.
This commit is contained in:
commit
6fa92eaf03
1 changed files with 4 additions and 1 deletions
|
@ -1637,7 +1637,10 @@ impl Step for Compiletest {
|
|||
return;
|
||||
}
|
||||
|
||||
if builder.top_stage == 0 && env::var("COMPILETEST_FORCE_STAGE0").is_err() {
|
||||
if builder.top_stage == 0
|
||||
&& env::var("COMPILETEST_FORCE_STAGE0").is_err()
|
||||
&& self.mode != "js-doc-test"
|
||||
{
|
||||
eprintln!("\
|
||||
ERROR: `--stage 0` runs compiletest on the beta compiler, not your local changes, and will almost always cause tests to fail
|
||||
HELP: to test the compiler, use `--stage 1` instead
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue