Skip to content

Commit 46443a6

Browse files
authored
Merge pull request #362 from pitdicker/i128_warning
Hide "The i128_type feature is now stable" warning
2 parents 5e46f61 + e47a9e2 commit 46443a6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +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", 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))]
182183
#![cfg_attr(feature = "stdweb", recursion_limit="128")]
183184

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

0 commit comments

Comments
 (0)