diff options
Diffstat (limited to 'components/script/lib.rs')
-rw-r--r-- | components/script/lib.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/components/script/lib.rs b/components/script/lib.rs index 4823b2f475f..4f66095e1ff 100644 --- a/components/script/lib.rs +++ b/components/script/lib.rs @@ -6,7 +6,7 @@ #![feature(borrow_state)] #![feature(box_syntax)] #![feature(const_fn)] -#![feature(core_intrinsics)] +#![cfg_attr(debug_assertions, feature(core_intrinsics))] #![feature(custom_attribute)] #![feature(custom_derive)] #![feature(fnbox)] @@ -50,6 +50,7 @@ extern crate html5ever; extern crate hyper; extern crate image; extern crate ipc_channel; +#[macro_use] extern crate js; extern crate libc; #[macro_use] |