OpenDevicePartnership / OpenDevicePartnership/patina
[rustc]: Tracking Issue: `coverage_attribute`
Open
@Javagedes is already working on this.
Since Oct 1, 2025.
rustc-feature-gate
- Dominant language
- Rust
- Stars
- 544
- Forks
- 54
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 30
Description
Unstable rustc feature name
coverage_attribute
Unstable rustc feature issue link
https://github.com/rust-lang/rust/issues/84605
Current progress of the feature
- Tracking issue created
- RFC created
- RFC accepted
- Implementation merged
- Feature stabilized
RFC number and PR link
N/A - Used before current process
Usage justification
Used to selectively disable coverage instrumentation. Specifically, this is used for cargo-llvm-cov to ignore tests as counted in coverage results themselves but is also used sparingly throughout the codebase to ignore some functions, such as EFI wrappers around "rusty" functions.
Crate Usage
patina_adv_loggerpatina_mmpatina_performancepatina_samplespatina_debuggerpatina_internal_collectionspatina_internal_depexpatina_internal_device_pathpatina_stacktracepatina_dxe_corepatina_sdkpatina_sdk_macro
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.