diff --git a/crates/libcgroups/src/lib.rs b/crates/libcgroups/src/lib.rs index f7e82c2cef..25d0d5dd21 100644 --- a/crates/libcgroups/src/lib.rs +++ b/crates/libcgroups/src/lib.rs @@ -1,3 +1,5 @@ +#![cfg_attr(coverage, feature(no_coverage))] + //! Control groups provide a way of controlling groups of processes. //! Examples: controlling resource limits, execution priority, measuring resource usage, //! freezing, checkpointing and restarting groups of processes. diff --git a/crates/libcgroups/src/v2/devices/mod.rs b/crates/libcgroups/src/v2/devices/mod.rs index 954602cbea..d3acea3883 100644 --- a/crates/libcgroups/src/v2/devices/mod.rs +++ b/crates/libcgroups/src/v2/devices/mod.rs @@ -5,7 +5,6 @@ pub mod program; #[cfg(test)] #[allow(clippy::too_many_arguments)] -#[cfg_attr(coverage, feature(no_coverage))] pub mod mocks; pub use controller::Devices;