diff options
| author | Ralf Jung <post@ralfj.de> | 2020-09-20 12:08:15 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-20 12:08:15 +0200 |
| commit | b603143c9e8f535219d7ba348d7efaf634dd0071 (patch) | |
| tree | 4cafa892d1b11a32a5ffbae8040e6fcb77020826 /src/test/codegen/src-hash-algorithm | |
| parent | 2911b8cb30cf4fed41a6d6dba4fb0076b6a82e93 (diff) | |
| parent | c35ce3ff170333d11ccf89e75dc87c49f44a570a (diff) | |
| download | rust-b603143c9e8f535219d7ba348d7efaf634dd0071.tar.gz rust-b603143c9e8f535219d7ba348d7efaf634dd0071.zip | |
Rollup merge of #76800 - jyn514:usage, r=Mark-Simulacrum
Don't generate bootstrap usage unless it's needed Previously, `x.py` would unconditionally run `x.py build` to get the help message. After https://github.com/rust-lang/rust/issues/76165, when checking the CI stage was moved into `Config`, that would cause an assertion failure (but only only in CI!): ``` thread 'main' panicked at 'assertion failed: `(left == right)` left: `1`, right: `2`', src/bootstrap/config.rs:619:49 ``` This changes bootstrap to only generate a help message when it needs to (when someone passes `--help`). r? @Mark-Simulacrum This should fix the CI failures in https://github.com/rust-lang/rust/pull/76797 and https://github.com/rust-lang/rust/pull/75991.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions
