Skip to content
Permalink
Browse files

when testing Miri, compile libstd for Miri

  • Loading branch information...
RalfJung committed Apr 25, 2019
1 parent 54aefc6 commit 16ad9777b8afd3991b4501e602a04e5e40214b56
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/bootstrap/bin/rustc.rs
@@ -262,6 +262,7 @@ fn main() {
// The flags here should be kept in sync with `add_miri_default_args`
// in miri's `src/lib.rs`.
cmd.arg("-Zalways-encode-mir");
cmd.arg("--cfg=miri");
// These options are preferred by miri, to be able to perform better validation,
// but the bootstrap compiler might not understand them.
if stage != "0" {

0 comments on commit 16ad977

Please sign in to comment.
You can’t perform that action at this time.