diff options
| author | Ralf Jung <post@ralfj.de> | 2018-10-24 14:08:47 +0200 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2018-10-29 09:16:27 +0100 |
| commit | 07829bc0f09a80d64487318f7e7ad44b701dac8b (patch) | |
| tree | 7a818d6eea165c9c8660662feee5939e2999ca47 /src | |
| parent | 8a61d492a97d829638f60b19ac2196e7b9076720 (diff) | |
| download | rust-07829bc0f09a80d64487318f7e7ad44b701dac8b.tar.gz rust-07829bc0f09a80d64487318f7e7ad44b701dac8b.zip | |
don't forget to sync these flags with miri
Diffstat (limited to 'src')
| -rw-r--r-- | src/bootstrap/bin/rustc.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bootstrap/bin/rustc.rs b/src/bootstrap/bin/rustc.rs index 07a05aeae5d..344eb789ff6 100644 --- a/src/bootstrap/bin/rustc.rs +++ b/src/bootstrap/bin/rustc.rs @@ -253,6 +253,8 @@ fn main() { // When running miri tests, we need to generate MIR for all libraries if env::var("TEST_MIRI").ok().map_or(false, |val| val == "true") { + // The flags here should be kept in sync with `add_miri_default_args` + // in miri's `src/lib.rs`. cmd.arg("-Zalways-encode-mir"); // These options are preferred by miri, to be able to perform better validation, // but the bootstrap compiler might not understand them. |
