Auto merge of #2491 - RalfJung:vscode, r=RalfJung
fix vscode configuration Also now that we install rustfmt into the toolchain by default, we no longer need to adjust that command.
This commit is contained in:
commit
b8f617897a
@ -174,16 +174,14 @@ to `.vscode/settings.json` in your local Miri clone:
|
|||||||
"check",
|
"check",
|
||||||
"--message-format=json"
|
"--message-format=json"
|
||||||
],
|
],
|
||||||
"rust-analyzer.buildScripts.overrideCommand": [
|
// Contrary to what the name suggests, this also affects proc macros.
|
||||||
|
"rust-analyzer.cargo.buildScripts.overrideCommand": [
|
||||||
"env",
|
"env",
|
||||||
"MIRI_AUTO_OPS=no",
|
"MIRI_AUTO_OPS=no",
|
||||||
"./miri",
|
"./miri",
|
||||||
"check",
|
"check",
|
||||||
"--message-format=json",
|
"--message-format=json",
|
||||||
],
|
],
|
||||||
"rust-analyzer.rustfmt.extraArgs": [
|
|
||||||
"+nightly"
|
|
||||||
],
|
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user