Skip to content

Commit 8a1f9e0

Browse files
authored
Rollup merge of #78687 - jyn514:bootstrap-help, r=Mark-Simulacrum
Suggest library/std when running all stage 0 tests r? ``@Mark-Simulacrum`` cc ``@ijackson`` For context, this came out of a discord conversation where ``@ijackson`` was running `test --stage 1` when they were only adding doc-tests to the standard library.
2 parents f347dab + 1aedcd3 commit 8a1f9e0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/bootstrap/test.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -970,7 +970,8 @@ impl Step for Compiletest {
970970
if builder.top_stage == 0 && env::var("COMPILETEST_FORCE_STAGE0").is_err() {
971971
eprintln!("\
972972
error: `--stage 0` runs compiletest on the beta compiler, not your local changes, and will almost always cause tests to fail
973-
help: use `--stage 1` instead
973+
help: to test the compiler, use `--stage 1` instead
974+
help: to test the standard library, use `--stage 0 library/std` instead
974975
note: if you're sure you want to do this, please open an issue as to why. In the meantime, you can override this with `COMPILETEST_FORCE_STAGE0=1`."
975976
);
976977
std::process::exit(1);

0 commit comments

Comments
 (0)