Rework no_coverage to coverage(off)
This commit is contained in:
@@ -87,7 +87,7 @@ bitflags! {
|
||||
/// #[cmse_nonsecure_entry]: with a TrustZone-M extension, declare a
|
||||
/// function as an entry function from Non-Secure code.
|
||||
const CMSE_NONSECURE_ENTRY = 1 << 14;
|
||||
/// `#[no_coverage]`: indicates that the function should be ignored by
|
||||
/// `#[coverage(off)]`: indicates that the function should be ignored by
|
||||
/// the MIR `InstrumentCoverage` pass and not added to the coverage map
|
||||
/// during codegen.
|
||||
const NO_COVERAGE = 1 << 15;
|
||||
|
||||
Reference in New Issue
Block a user