We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a61d49 commit 07829bcCopy full SHA for 07829bc
src/bootstrap/bin/rustc.rs
@@ -253,6 +253,8 @@ fn main() {
253
254
// When running miri tests, we need to generate MIR for all libraries
255
if env::var("TEST_MIRI").ok().map_or(false, |val| val == "true") {
256
+ // The flags here should be kept in sync with `add_miri_default_args`
257
+ // in miri's `src/lib.rs`.
258
cmd.arg("-Zalways-encode-mir");
259
// These options are preferred by miri, to be able to perform better validation,
260
// but the bootstrap compiler might not understand them.
0 commit comments