commit | 9b4fb7ce91cdd4dfaf783b085d4ef4ff8121da85 | [log] [tgz] |
---|---|---|
author | bors <bors@rust-lang.org> | Fri Apr 19 07:02:15 2024 +0000 |
committer | bors <bors@rust-lang.org> | Fri Apr 19 07:02:15 2024 +0000 |
tree | d62dceed9dc6d9f61d12ee9697b4c5c108ff850b | |
parent | af1fd88c4d3708c248323caec7c5ac52255f450f [diff] | |
parent | db292bd89e8c479dbef1eadfe5d84a9b425795c6 [diff] |
Auto merge of #17105 - kpreid:nocapture, r=Veykril 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 #12737. Suggested changelog info: > New Features > > * add `rust-analyzer.runnables.extraTestBinaryArgs` to configure test harness options when running tests; replaces a previously hard-coded `--nocapture` option. I'm not sure I made the right choices in vocabulary, between “binary”, “executable”, and “runnable”, and “launch” vs. “execute”, so let me know if I missed something to be consistent with in the naming and documentation.
rust-analyzer is a modular compiler frontend for the Rust language. It is a part of a larger rls-2.0 effort to create excellent IDE support for Rust.
https://rust-analyzer.github.io/manual.html#installation
If you want to contribute to rust-analyzer check out the CONTRIBUTING.md or if you are just curious about how things work under the hood, check the ./docs/dev folder.
If you want to use rust-analyzer's language server with your editor of choice, check the manual folder. It also contains some tips & tricks to help you be more productive when using rust-analyzer.
See the corresponding sections of the manual.
For usage and troubleshooting requests, please use “IDEs and Editors” category of the Rust forum:
https://users.rust-lang.org/c/ide/14
For questions about development and implementation, join rust-analyzer working group on Zulip:
https://rust-lang.zulipchat.com/#narrow/stream/185405-t-compiler.2Frust-analyzer
rust-analyzer is primarily distributed under the terms of both the MIT license and the Apache License (Version 2.0).
See LICENSE-APACHE and LICENSE-MIT for details.