Synced rust-analyzer configs
This commit is contained in:
parent
03901977c9
commit
6e05d61e38
1 changed files with 5 additions and 7 deletions
|
|
@ -9,23 +9,21 @@ linkedProjects = [
|
|||
]
|
||||
|
||||
[language-server.rust-analyzer.config.check]
|
||||
invocationLocation = "root"
|
||||
invocationStrategy = "once"
|
||||
overrideCommand = [
|
||||
"env",
|
||||
"MIRI_AUTO_OPS=no",
|
||||
"./miri",
|
||||
"clippy", # make this `check` when working with a locally built rustc
|
||||
"--message-format=json",
|
||||
]
|
||||
|
||||
[language-server.rust-analyzer.config.cargo.extraEnv]
|
||||
MIRI_AUTO_OPS = "no"
|
||||
MIRI_IN_RA = "1"
|
||||
|
||||
# Contrary to what the name suggests, this also affects proc macros.
|
||||
[language-server.rust-analyzer.config.buildScripts]
|
||||
invocationLocation = "root"
|
||||
[language-server.rust-analyzer.config.cargo.buildScripts]
|
||||
invocationStrategy = "once"
|
||||
overrideCommand = [
|
||||
"env",
|
||||
"MIRI_AUTO_OPS=no",
|
||||
"./miri",
|
||||
"check",
|
||||
"--message-format=json",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue