File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -154,19 +154,24 @@ to `.vscode/settings.json` in your local Miri clone:
154154
155155``` json
156156{
157+ "rust-analyzer.rustc.source" : " discover" ,
158+ "rust-analyzer.linkedProjects" : [
159+ " ./Cargo.toml" ,
160+ " ./cargo-miri/Cargo.toml"
161+ ],
157162 "rust-analyzer.checkOnSave.overrideCommand" : [
158163 " ./miri" ,
159164 " check" ,
160165 " --message-format=json"
161166 ],
167+ "rust-analyzer.buildScripts.overrideCommand" : [
168+ " ./miri" ,
169+ " check" ,
170+ " --message-format=json" ,
171+ ],
162172 "rust-analyzer.rustfmt.extraArgs" : [
163173 " +nightly"
164174 ],
165- "rust-analyzer.rustcSource" : " discover" ,
166- "rust-analyzer.linkedProjects" : [
167- " ./Cargo.toml" ,
168- " ./cargo-miri/Cargo.toml"
169- ]
170175}
171176```
172177
You can’t perform that action at this time.
0 commit comments