File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -9,23 +9,21 @@ linkedProjects = [
9
9
]
10
10
11
11
[language-server .rust-analyzer .config .check ]
12
- invocationLocation = " root"
13
12
invocationStrategy = " once"
14
13
overrideCommand = [
15
- " env" ,
16
- " MIRI_AUTO_OPS=no" ,
17
14
" ./miri" ,
18
15
" clippy" , # make this `check` when working with a locally built rustc
19
16
" --message-format=json" ,
20
17
]
21
18
19
+ [language-server .rust-analyzer .config .cargo .extraEnv ]
20
+ MIRI_AUTO_OPS = " no"
21
+ MIRI_IN_RA = " 1"
22
+
22
23
# Contrary to what the name suggests, this also affects proc macros.
23
- [language-server .rust-analyzer .config .buildScripts ]
24
- invocationLocation = " root"
24
+ [language-server .rust-analyzer .config .cargo .buildScripts ]
25
25
invocationStrategy = " once"
26
26
overrideCommand = [
27
- " env" ,
28
- " MIRI_AUTO_OPS=no" ,
29
27
" ./miri" ,
30
28
" check" ,
31
29
" --message-format=json" ,
You can’t perform that action at this time.
0 commit comments