blob: 1015b4baa6b090a62077a7d2de09a849ed1e2838 [file] [log] [blame]
[language-server.rust-analyzer.config.rustc]
source = "discover"
[language-server.rust-analyzer.config]
linkedProjects = [
"Cargo.toml",
"cargo-miri/Cargo.toml",
"genmc-sys/Cargo.toml",
"miri-script/Cargo.toml",
]
[language-server.rust-analyzer.config.check]
invocationStrategy = "once"
overrideCommand = [
"./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.cargo.buildScripts]
invocationStrategy = "once"
overrideCommand = [
"./miri",
"check",
"-Zunstable-options",
"--compile-time-deps",
"--message-format=json",
]