diff options
author | Simon Sapin <simon.sapin@exyr.org> | 2017-10-12 17:39:31 +0200 |
---|---|---|
committer | Simon Sapin <simon.sapin@exyr.org> | 2017-10-13 11:11:05 +0200 |
commit | 4594b40238d7aa5ca3aed885013e16c935c62a0d (patch) | |
tree | f13fb710c90a0f9e6ff440e4efbe9f1fec880003 /components/remutex | |
parent | 45fd384a91248a2018a3d6f5c2103dea4a69fbaa (diff) | |
download | servo-4594b40238d7aa5ca3aed885013e16c935c62a0d.tar.gz servo-4594b40238d7aa5ca3aed885013e16c935c62a0d.zip |
Use wrappers in the nonzero crate so users don’t need unstable features
Diffstat (limited to 'components/remutex')
-rw-r--r-- | components/remutex/Cargo.toml | 3 | ||||
-rw-r--r-- | components/remutex/lib.rs | 2 |
2 files changed, 0 insertions, 5 deletions
diff --git a/components/remutex/Cargo.toml b/components/remutex/Cargo.toml index b3937587a62..f03fa5ada18 100644 --- a/components/remutex/Cargo.toml +++ b/components/remutex/Cargo.toml @@ -9,9 +9,6 @@ publish = false name = "servo_remutex" path = "lib.rs" -[features] -unstable = ["nonzero/unstable"] - [dependencies] lazy_static = "0.2" log = "0.3.5" diff --git a/components/remutex/lib.rs b/components/remutex/lib.rs index 6793429bf1e..2589a6d1162 100644 --- a/components/remutex/lib.rs +++ b/components/remutex/lib.rs @@ -10,8 +10,6 @@ //! It provides the same interface as https://github.com/rust-lang/rust/blob/master/src/libstd/sys/common/remutex.rs //! so if those types are ever exported, we should be able to replace this implemtation. -#![cfg_attr(feature = "unstable", feature(nonzero))] - extern crate nonzero; #[macro_use] extern crate lazy_static; #[macro_use] extern crate log; |