src/bootstrap/src/core/config/config.rs
@@ -1206,7 +1206,9 @@ impl Config {
1206
| Subcommand::Install => {
1207
assert_eq!(
1208
stage, 2,
1209
- "x.py should be run with `--stage 2` on CI, but was run with `--stage {stage}`",
+ "\
1210
+x.py was run under CI with an implicit `--stage {stage}`. This is probably wrong and you want stage 2.
1211
+NOTE: Please add `--stage 2` to your command line, or if you're sure you want to run stage {stage} then add `--stage {stage}` explicitly"
1212
);
1213
}
1214
Subcommand::Clean { .. }
0 commit comments