Skip to content

Commit 5615562

Browse files
committed
update recommended RA config
1 parent 83ca922 commit 5615562

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/tools/miri/CONTRIBUTING.md

+5-4
Original file line numberDiff line numberDiff line change
@@ -165,16 +165,17 @@ to `.vscode/settings.json` in your local Miri clone:
165165
{
166166
"rust-analyzer.rustc.source": "discover",
167167
"rust-analyzer.linkedProjects": [
168-
"./Cargo.toml",
169-
"./cargo-miri/Cargo.toml"
168+
"Cargo.toml",
169+
"cargo-miri/Cargo.toml",
170+
"miri-script/Cargo.toml",
170171
],
171-
"rust-analyzer.checkOnSave.overrideCommand": [
172+
"rust-analyzer.check.overrideCommand": [
172173
"env",
173174
"MIRI_AUTO_OPS=no",
174175
"./miri",
175176
"cargo",
176177
"clippy", // make this `check` when working with a locally built rustc
177-
"--message-format=json"
178+
"--message-format=json",
178179
],
179180
// Contrary to what the name suggests, this also affects proc macros.
180181
"rust-analyzer.cargo.buildScripts.overrideCommand": [

0 commit comments

Comments
 (0)