diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-10-26 17:45:45 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-26 17:45:45 +0200 |
| commit | 24bdc372feacd866d9ee01b4bea35364cf17ee43 (patch) | |
| tree | 00ea92cefd5743810076a1b139e8e48c69d6bfc9 /compiler/rustc_interface/src/tests.rs | |
| parent | 36b794ed03f707e8571eadc4da2816d978d6cddf (diff) | |
| parent | 9f5fc0283cedc2cbae3727764b451098a7e98071 (diff) | |
| download | rust-24bdc372feacd866d9ee01b4bea35364cf17ee43.tar.gz rust-24bdc372feacd866d9ee01b4bea35364cf17ee43.zip | |
Rollup merge of #117207 - Zalathar:no-option, r=compiler-errors
The value of `-Cinstrument-coverage=` doesn't need to be `Option` (Extracted from #117199, since this is a purely internal cleanup that can land independently.) Not using this flag is identical to passing `-Cinstrument-coverage=off`, so there's no need to distinguish between `None` and `Some(Off)`.
Diffstat (limited to 'compiler/rustc_interface/src/tests.rs')
| -rw-r--r-- | compiler/rustc_interface/src/tests.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_interface/src/tests.rs b/compiler/rustc_interface/src/tests.rs index 750d49a1c2d..3d191669b1a 100644 --- a/compiler/rustc_interface/src/tests.rs +++ b/compiler/rustc_interface/src/tests.rs @@ -614,7 +614,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")]); |
