diff options
| author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-11-12 21:05:54 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-12 21:05:54 +0000 |
| commit | d1e756e05aab5410f6176fce26bf021453708b9b (patch) | |
| tree | 1eb5e2859ea86444d072c6f2ec84f70136bb78ad /tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff | |
| parent | e46f1fd5e09463e2d4cf1f54fdfc4d0fbf95418b (diff) | |
| parent | f6f6b3a7ad46bcec752cf1ed8f0dc326913589bd (diff) | |
| download | rust-d1e756e05aab5410f6176fce26bf021453708b9b.tar.gz rust-d1e756e05aab5410f6176fce26bf021453708b9b.zip | |
Merge #10756
10756: Allow the check command to terminate without output r=Veykril a=Wilfred
Cargo will always output something on success:
```
$ cargo check --message-format=json
{"reason":"compiler-artifact", ... snipped ... }
{"reason":"build-finished","success":true}
```
However, rustc does not output anything on success:
```
$ rustc --error-format=json main.rs
$ echo $?
0
```
Restore the behaviour prior to #10517, where an exit code of 0 is
considered good even if nothing is written to stdout.
This enables custom overrideCommand values that use rustc rather than
cargo.
Co-authored-by: Wilfred Hughes <me@wilfred.me.uk>
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff')
0 files changed, 0 insertions, 0 deletions
