mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 04:19:13 +00:00
Pass flycheck extra args when running build scripts
This commit is contained in:
parent
70e10deee8
commit
cfc9d5cd3b
3 changed files with 4 additions and 0 deletions
|
@ -67,6 +67,7 @@ impl WorkspaceBuildScripts {
|
|||
let mut cmd = Command::new(toolchain::cargo());
|
||||
|
||||
cmd.args(["check", "--quiet", "--workspace", "--message-format=json"]);
|
||||
cmd.args(&config.extra_args);
|
||||
|
||||
// --all-targets includes tests, benches and examples in addition to the
|
||||
// default lib and bins. This is an independent concept from the --target
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue