diff options
| author | Jakob Degen <jakob.e.degen@gmail.com> | 2022-04-11 15:17:52 -0400 |
|---|---|---|
| committer | Jakob Degen <jakob.e.degen@gmail.com> | 2022-04-16 18:23:59 -0400 |
| commit | f280a839a7d327dd2b38360707437cd75c954d97 (patch) | |
| tree | 191623c7e1a4e778f76f2106a5efa547067d6022 /compiler/rustc_interface | |
| parent | c8422403f775126c40d558838d321c063554c822 (diff) | |
| download | rust-f280a839a7d327dd2b38360707437cd75c954d97.tar.gz rust-f280a839a7d327dd2b38360707437cd75c954d97.zip | |
Add support for MIR opt unit tests
Diffstat (limited to 'compiler/rustc_interface')
| -rw-r--r-- | compiler/rustc_interface/src/tests.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_interface/src/tests.rs b/compiler/rustc_interface/src/tests.rs index fe75ee8b37b..ee923908e30 100644 --- a/compiler/rustc_interface/src/tests.rs +++ b/compiler/rustc_interface/src/tests.rs @@ -751,6 +751,7 @@ fn test_debugging_options_tracking_hash() { tracked!(location_detail, LocationDetail { file: true, line: false, column: false }); tracked!(merge_functions, Some(MergeFunctions::Disabled)); tracked!(mir_emit_retag, true); + tracked!(mir_enable_passes, vec![("DestProp".to_string(), false)]); tracked!(mir_opt_level, Some(4)); tracked!(move_size_limit, Some(4096)); tracked!(mutable_noalias, Some(true)); |
