about summary refs log tree commit diff
path: root/tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff
diff options
context:
space:
mode:
authorWilfred Hughes <me@wilfred.me.uk>2021-11-12 11:43:20 -0800
committerWilfred Hughes <me@wilfred.me.uk>2021-11-12 11:43:20 -0800
commitf6f6b3a7ad46bcec752cf1ed8f0dc326913589bd (patch)
tree866f220d5f4d39fbcf020b6b371ccb804ecbdb2c /tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff
parentd83b76d83461d99ec4a4eecd75283853d1c892a5 (diff)
downloadrust-f6f6b3a7ad46bcec752cf1ed8f0dc326913589bd.tar.gz
rust-f6f6b3a7ad46bcec752cf1ed8f0dc326913589bd.zip
Allow the check command to terminate without output
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.
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff')
0 files changed, 0 insertions, 0 deletions