/// This implementation is used when compiling for actual use, as opposed to
/// testing.
-#[cfg(all(not(test), not(feature = "testing")))]
+#[cfg(not(test))]
pub mod log {
use libc::{c_char, c_int};
use super::LogDomain;
/// This module exposes no-op functionality for testing other Rust modules
/// without linking to C.
-#[cfg(any(test, feature = "testing"))]
+#[cfg(test)]
pub mod log {
use libc::{c_char, c_int};
use super::LogDomain;