coverage: Add a synthetic test for when all spans are discarded
This commit is contained in:
parent
837a25dd41
commit
aced4dcf10
8 changed files with 67 additions and 3 deletions
|
@ -766,7 +766,11 @@ fn test_unstable_options_tracking_hash() {
|
|||
})
|
||||
);
|
||||
tracked!(codegen_backend, Some("abc".to_string()));
|
||||
tracked!(coverage_options, CoverageOptions { level: CoverageLevel::Mcdc, no_mir_spans: true });
|
||||
tracked!(coverage_options, CoverageOptions {
|
||||
level: CoverageLevel::Mcdc,
|
||||
no_mir_spans: true,
|
||||
discard_all_spans_in_codegen: true
|
||||
});
|
||||
tracked!(crate_attr, vec!["abc".to_string()]);
|
||||
tracked!(cross_crate_inline_threshold, InliningThreshold::Always);
|
||||
tracked!(debug_info_for_profiling, true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue