diff options
| author | Yoh Deadfall <yoh.deadfall@hotmail.com> | 2025-06-27 23:42:58 +0300 |
|---|---|---|
| committer | Yoh Deadfall <yoh.deadfall@hotmail.com> | 2025-06-28 23:35:10 +0300 |
| commit | 6e05d61e388b799cd97a4751652816891029fc78 (patch) | |
| tree | 90cf1226cade22972793c9cac464a9fa64b93826 | |
| parent | 03901977c9b88132a478b4dba6ebb8a795140082 (diff) | |
| download | rust-6e05d61e388b799cd97a4751652816891029fc78.tar.gz rust-6e05d61e388b799cd97a4751652816891029fc78.zip | |
Synced rust-analyzer configs
| -rw-r--r-- | src/tools/miri/etc/rust_analyzer_helix.toml | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/tools/miri/etc/rust_analyzer_helix.toml b/src/tools/miri/etc/rust_analyzer_helix.toml index 62db463a191..9bfb09120d8 100644 --- a/src/tools/miri/etc/rust_analyzer_helix.toml +++ b/src/tools/miri/etc/rust_analyzer_helix.toml @@ -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", |
