Add support for MIR opt unit tests

This commit is contained in:
Jakob Degen 2022-04-11 15:17:52 -04:00
parent c8422403f7
commit f280a839a7
5 changed files with 52 additions and 5 deletions

View file

@ -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));