1
Fork 0

Convenience funcs for some_option.unwrap_or(...)

This ensures consistent handling of default values for options that are
None if not specified on the command line.
This commit is contained in:
Rich Kadel 2020-12-14 13:12:15 -08:00
parent 4f550f1f93
commit 36c639a2ce
15 changed files with 29 additions and 55 deletions

View file

@ -561,7 +561,7 @@ fn test_debugging_options_tracking_hash() {
tracked!(link_only, true);
tracked!(merge_functions, Some(MergeFunctions::Disabled));
tracked!(mir_emit_retag, true);
tracked!(mir_opt_level, Some(3));
tracked!(mir_opt_level, 3);
tracked!(mutable_noalias, true);
tracked!(new_llvm_pass_manager, true);
tracked!(no_codegen, true);