forked from rust-lang/rust
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of rust-lang#131727 - RalfJung:miri-sync, r=RalfJung
Miri subtree update r? `@ghost`
- Loading branch information
Showing
74 changed files
with
1,355 additions
and
878 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
[language-server.rust-analyzer.config.rustc] | ||
source = "discover" | ||
|
||
[language-server.rust-analyzer.config] | ||
linkedProjects = [ | ||
"Cargo.toml", | ||
"cargo-miri/Cargo.toml", | ||
"miri-script/Cargo.toml", | ||
] | ||
|
||
[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", | ||
] | ||
|
||
# Contrary to what the name suggests, this also affects proc macros. | ||
[language-server.rust-analyzer.config.buildScripts] | ||
invocationLocation = "root" | ||
invocationStrategy = "once" | ||
overrideCommand = [ | ||
"env", | ||
"MIRI_AUTO_OPS=no", | ||
"./miri", | ||
"check", | ||
"--message-format=json", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
"rust-analyzer.rustc.source": "discover", | ||
"rust-analyzer.linkedProjects": [ | ||
"Cargo.toml", | ||
"cargo-miri/Cargo.toml", | ||
"miri-script/Cargo.toml", | ||
], | ||
"rust-analyzer.check.invocationLocation": "root", | ||
"rust-analyzer.check.invocationStrategy": "once", | ||
"rust-analyzer.check.overrideCommand": [ | ||
"env", | ||
"MIRI_AUTO_OPS=no", | ||
"./miri", | ||
"clippy", // make this `check` when working with a locally built rustc | ||
"--message-format=json", | ||
], | ||
// Contrary to what the name suggests, this also affects proc macros. | ||
"rust-analyzer.cargo.buildScripts.invocationLocation": "root", | ||
"rust-analyzer.cargo.buildScripts.invocationStrategy": "once", | ||
"rust-analyzer.cargo.buildScripts.overrideCommand": [ | ||
"env", | ||
"MIRI_AUTO_OPS=no", | ||
"./miri", | ||
"check", | ||
"--message-format=json", | ||
], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
7067e4aee45c18cfa1c6af3bf79bd097684fb294 | ||
17a19e684cdf3ca088af8b4da6a6209d128913f4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.