about summary refs log tree commit diff
path: root/src/liblog
diff options
context:
space:
mode:
Diffstat (limited to 'src/liblog')
-rw-r--r--src/liblog/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liblog/lib.rs b/src/liblog/lib.rs
index 850c5511dd5..7c71e51ec43 100644
--- a/src/liblog/lib.rs
+++ b/src/liblog/lib.rs
@@ -162,7 +162,7 @@
 #![unstable(feature = "rustc_private",
             reason = "use the crates.io `log` library instead",
             issue = "27812")]
-#![staged_api]
+#![cfg_attr(stage0, staged_api)]
 #![crate_type = "rlib"]
 #![crate_type = "dylib"]
 #![doc(html_logo_url = "https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",