Skip to content

Commit e47a9e2

Browse files
committed
Only set i128 rust feature on nightly
1 parent c02174b commit e47a9e2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,8 +178,8 @@
178178

179179
#![cfg_attr(not(feature="std"), no_std)]
180180
#![cfg_attr(all(feature="alloc", not(feature="std")), feature(alloc))]
181-
#![cfg_attr(feature = "i128_support", allow(stable_features))] // stable since 2018-03-27
182-
#![cfg_attr(feature = "i128_support", feature(i128_type, i128))]
181+
#![cfg_attr(all(feature="i128_support", feature="nightly"), allow(stable_features))] // stable since 2018-03-27
182+
#![cfg_attr(all(feature="i128_support", feature="nightly"), feature(i128_type, i128))]
183183
#![cfg_attr(feature = "stdweb", recursion_limit="128")]
184184

185185
#[cfg(feature="std")] extern crate std as core;

0 commit comments

Comments
 (0)