about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJoshua Nelson <jyn514@gmail.com>2020-11-02 17:34:28 -0500
committerJoshua Nelson <jyn514@gmail.com>2020-11-02 17:35:52 -0500
commit1aedcd33f5aa288309718814e01f8598ac3b0b00 (patch)
tree4a34fb0598b00a6db3baac2aa936513d9a40e239
parent3478d7c3607ffbba629af2265c01002771e48c18 (diff)
downloadrust-1aedcd33f5aa288309718814e01f8598ac3b0b00.tar.gz
rust-1aedcd33f5aa288309718814e01f8598ac3b0b00.zip
Suggest library/std when running all stage 0 tests
-rw-r--r--src/bootstrap/test.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bootstrap/test.rs b/src/bootstrap/test.rs
index 6c2c05ac719..5a73f583045 100644
--- a/src/bootstrap/test.rs
+++ b/src/bootstrap/test.rs
@@ -970,7 +970,8 @@ impl Step for Compiletest {
         if builder.top_stage == 0 && env::var("COMPILETEST_FORCE_STAGE0").is_err() {
             eprintln!("\
 error: `--stage 0` runs compiletest on the beta compiler, not your local changes, and will almost always cause tests to fail
-help: use `--stage 1` instead
+help: to test the compiler, use `--stage 1` instead
+help: to test the standard library, use `--stage 0 library/std` instead
 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`."
             );
             std::process::exit(1);