about summary refs log tree commit diff
path: root/src/libflate/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libflate/lib.rs')
-rw-r--r--src/libflate/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libflate/lib.rs b/src/libflate/lib.rs
index 3619be82829..e0bea884f31 100644
--- a/src/libflate/lib.rs
+++ b/src/libflate/lib.rs
@@ -15,7 +15,7 @@
 //! [mz]: https://code.google.com/p/miniz/
 
 #![crate_name = "flate"]
-#![unstable(feature = "rustc_private", issue = "27812")]
+#![cfg_attr(stage0, unstable(feature = "rustc_private", issue = "27812"))]
 #![crate_type = "rlib"]
 #![crate_type = "dylib"]
 #![doc(html_logo_url = "https://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
@@ -25,7 +25,7 @@
 #![deny(warnings)]
 
 #![feature(libc)]
-#![feature(staged_api)]
+#![cfg_attr(stage0, feature(staged_api))]
 #![feature(unique)]
 #![cfg_attr(test, feature(rand))]