about summary refs log tree commit diff
path: root/compiler/rustc_errors/src/json.rs
diff options
context:
space:
mode:
authorKevin Reid <kpreid@switchb.org>2024-04-18 17:06:30 -0700
committerKevin Reid <kpreid@switchb.org>2024-04-18 18:37:09 -0700
commitdb292bd89e8c479dbef1eadfe5d84a9b425795c6 (patch)
treed62dceed9dc6d9f61d12ee9697b4c5c108ff850b /compiler/rustc_errors/src/json.rs
parentaf1fd88c4d3708c248323caec7c5ac52255f450f (diff)
downloadrust-db292bd89e8c479dbef1eadfe5d84a9b425795c6.tar.gz
rust-db292bd89e8c479dbef1eadfe5d84a9b425795c6.zip
Make test harness arguments configurable and not `--nocapture`.
* Added config `runnables.extraTestBinaryArgs` to control the args.
* The default is `--show-output` rather than `--nocapture` to prevent
  unreadable output when 2 or more tests fail or print output at once.
* Renamed variables in `CargoTargetSpec::runnable_args()` for clarity.

Fixes <https://github.com/rust-lang/rust-analyzer/issues/12737>.
Diffstat (limited to 'compiler/rustc_errors/src/json.rs')
0 files changed, 0 insertions, 0 deletions