The value of -Cinstrument-coverage=
doesn't need to be Option
Not using this flag is identical to passing `-Cinstrument-coverage=off`, so there's no need to distinguish between `None` and `Some(Off)`.
This commit is contained in:
parent
278eaf509d
commit
9f5fc0283c
3 changed files with 15 additions and 17 deletions
|
@ -612,7 +612,7 @@ fn test_codegen_options_tracking_hash() {
|
|||
tracked!(force_frame_pointers, Some(false));
|
||||
tracked!(force_unwind_tables, Some(true));
|
||||
tracked!(inline_threshold, Some(0xf007ba11));
|
||||
tracked!(instrument_coverage, Some(InstrumentCoverage::All));
|
||||
tracked!(instrument_coverage, InstrumentCoverage::All);
|
||||
tracked!(link_dead_code, Some(true));
|
||||
tracked!(linker_plugin_lto, LinkerPluginLto::LinkerPluginAuto);
|
||||
tracked!(llvm_args, vec![String::from("1"), String::from("2")]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue