diff options
| author | Joshua Nelson <jyn514@gmail.com> | 2020-09-16 13:31:20 -0400 |
|---|---|---|
| committer | Joshua Nelson <jyn514@gmail.com> | 2020-09-16 13:31:20 -0400 |
| commit | c35ce3ff170333d11ccf89e75dc87c49f44a570a (patch) | |
| tree | 40bc3e2fad717c4a0db872ca3a7b80cf43651a61 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs | |
| parent | 5fae56971d8487088c0099c82c0a5ce1638b5f62 (diff) | |
| download | rust-c35ce3ff170333d11ccf89e75dc87c49f44a570a.tar.gz rust-c35ce3ff170333d11ccf89e75dc87c49f44a570a.zip | |
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`).
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions
