OpenDevicePartnership / OpenDevicePartnership/patina

[rustc]: Tracking Issue: `coverage_attribute`

Open
#804 0 comments 0 reactions 1 assignee View on GitHub

@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_logger
  • patina_mm
  • patina_performance
  • patina_samples
  • patina_debugger
  • patina_internal_collections
  • patina_internal_depex
  • patina_internal_device_path
  • patina_stacktrace
  • patina_dxe_core
  • patina_sdk
  • patina_sdk_macro

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.