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:
bors 2022-08-17 11:46:14 +00:00
commit b8f617897a

View File

@ -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"
],
} }
``` ```