File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -165,16 +165,17 @@ to `.vscode/settings.json` in your local Miri clone:
165
165
{
166
166
"rust-analyzer.rustc.source" : " discover" ,
167
167
"rust-analyzer.linkedProjects" : [
168
- " ./Cargo.toml" ,
169
- " ./cargo-miri/Cargo.toml"
168
+ " Cargo.toml" ,
169
+ " cargo-miri/Cargo.toml" ,
170
+ " miri-script/Cargo.toml" ,
170
171
],
171
- "rust-analyzer.checkOnSave .overrideCommand" : [
172
+ "rust-analyzer.check .overrideCommand" : [
172
173
" env" ,
173
174
" MIRI_AUTO_OPS=no" ,
174
175
" ./miri" ,
175
176
" cargo" ,
176
177
" clippy" , // make this `check` when working with a locally built rustc
177
- " --message-format=json"
178
+ " --message-format=json" ,
178
179
],
179
180
// Contrary to what the name suggests, this also affects proc macros.
180
181
"rust-analyzer.cargo.buildScripts.overrideCommand" : [
You can’t perform that action at this time.
0 commit comments