We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 54aefc6 commit 16ad977Copy full SHA for 16ad977
src/bootstrap/bin/rustc.rs
@@ -262,6 +262,7 @@ fn main() {
262
// The flags here should be kept in sync with `add_miri_default_args`
263
// in miri's `src/lib.rs`.
264
cmd.arg("-Zalways-encode-mir");
265
+ cmd.arg("--cfg=miri");
266
// These options are preferred by miri, to be able to perform better validation,
267
// but the bootstrap compiler might not understand them.
268
if stage != "0" {
0 commit comments