aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/lib.rs')
-rw-r--r--components/script/lib.rs9
1 files changed, 3 insertions, 6 deletions
diff --git a/components/script/lib.rs b/components/script/lib.rs
index 8922aa37e62..5f33f1e1151 100644
--- a/components/script/lib.rs
+++ b/components/script/lib.rs
@@ -2,14 +2,11 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+#![cfg_attr(feature = "unstable", feature(core_intrinsics))]
+#![cfg_attr(feature = "unstable", feature(on_unimplemented))]
#![feature(conservative_impl_trait)]
#![feature(const_fn)]
-#![feature(const_ptr_null)]
-#![feature(const_ptr_null_mut)]
-#![feature(core_intrinsics)]
#![feature(mpsc_select)]
-#![feature(nonzero)]
-#![feature(on_unimplemented)]
#![feature(plugin)]
#![feature(proc_macro)]
@@ -31,7 +28,6 @@ extern crate byteorder;
extern crate canvas_traits;
extern crate caseless;
extern crate cookie as cookie_rs;
-extern crate core;
#[macro_use] extern crate cssparser;
#[macro_use] extern crate deny_public_fields;
extern crate devtools_traits;
@@ -67,6 +63,7 @@ extern crate mime_guess;
extern crate mitochondria;
extern crate msg;
extern crate net_traits;
+extern crate nonzero;
extern crate num_traits;
extern crate offscreen_gl_context;
extern crate open;