diff options
| author | Mara Bos <m-ou.se@m-ou.se> | 2020-11-03 19:32:40 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-03 19:32:40 +0100 |
| commit | 8a1f9e09a1d03cd5a887ea6275feddb49d6c2014 (patch) | |
| tree | a5f96a13d67b028ef476fbb30a573e56dceb7424 | |
| parent | f347dab47c2c29640747d8200e00f6a5de3c7b7b (diff) | |
| parent | 1aedcd33f5aa288309718814e01f8598ac3b0b00 (diff) | |
| download | rust-8a1f9e09a1d03cd5a887ea6275feddb49d6c2014.tar.gz rust-8a1f9e09a1d03cd5a887ea6275feddb49d6c2014.zip | |
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.
| -rw-r--r-- | src/bootstrap/test.rs | 3 |
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); |
