]> git.lizzy.rs Git - rust.git/commitdiff
Properly stage new feature gates
authorOliver Scherer <github35764891676564198441@oli-obk.de>
Tue, 11 Dec 2018 09:43:40 +0000 (10:43 +0100)
committerOliver Scherer <github35764891676564198441@oli-obk.de>
Tue, 11 Dec 2018 09:43:40 +0000 (10:43 +0100)
src/libstd/lib.rs

index 1feb6f268fa0f2d4ca1d30c245601beb371c46a9..a69ec76376aabb25cae235d6d2497fcfbfe8e92b 100644 (file)
 #![feature(libc)]
 #![feature(link_args)]
 #![feature(linkage)]
-#![feature(min_const_unsafe_fn)]
+#![cfg_attr(not(stage0), feature(min_const_unsafe_fn))]
 #![feature(needs_panic_runtime)]
 #![feature(never_type)]
 #![feature(nll)]