Auto merge of #3410 - RalfJung:all-targets, r=RalfJung

CONTRIBUTING: vsocde settings: add --all-targets

Seems like when setting a custom command, one needs to pass this flag manually, it's no longer automatically added by RA.
This commit is contained in:
bors 2024-03-25 12:55:08 +00:00
commit cf172a8ebd

View file

@ -181,6 +181,7 @@ to `.vscode/settings.json` in your local Miri clone:
"cargo",
"clippy", // make this `check` when working with a locally built rustc
"--message-format=json",
"--all-targets",
],
// Contrary to what the name suggests, this also affects proc macros.
"rust-analyzer.cargo.buildScripts.overrideCommand": [
@ -190,6 +191,7 @@ to `.vscode/settings.json` in your local Miri clone:
"cargo",
"check",
"--message-format=json",
"--all-targets",
],
}
```