diff options
author | Josh Matthews <josh@joshmatthews.net> | 2015-01-15 13:26:44 -0500 |
---|---|---|
committer | Glenn Watson <gw@intuitionlibrary.com> | 2015-01-28 10:16:49 +1000 |
commit | 95fc29fa0db21959df99d81cdbb9561226321d2f (patch) | |
tree | a48e171165ec155062ef13c550b2c0f72d127425 /components/script/lib.rs | |
parent | ff8cbff81016c157373c1675f3eee69dd70ae544 (diff) | |
download | servo-95fc29fa0db21959df99d81cdbb9561226321d2f.tar.gz servo-95fc29fa0db21959df99d81cdbb9561226321d2f.zip |
Update rustc to 00b112c45a604fa6f4b59af2a40c9deeadfdb7c6/rustc-1.0.0-dev.
Diffstat (limited to 'components/script/lib.rs')
-rw-r--r-- | components/script/lib.rs | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/components/script/lib.rs b/components/script/lib.rs index a3c528df29c..f24bd11a82e 100644 --- a/components/script/lib.rs +++ b/components/script/lib.rs @@ -2,19 +2,22 @@ * 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/. */ -#![feature(default_type_params, globs, macro_rules, phase, unsafe_destructor)] +#![feature(unsafe_destructor, plugin, box_syntax, int_uint)] +#![feature(old_impl_check)] #![deny(unsafe_blocks)] #![deny(unused_imports)] #![deny(unused_variables)] #![allow(non_snake_case)] #![allow(missing_copy_implementations)] +#![allow(unstable)] #![doc="The script crate contains all matters DOM."] -#[phase(plugin, link)] +#[macro_use] extern crate log; +extern crate core; extern crate devtools_traits; extern crate cssparser; extern crate collections; @@ -26,22 +29,21 @@ extern crate js; extern crate libc; extern crate msg; extern crate net; -extern crate rustrt; extern crate serialize; extern crate time; extern crate canvas; extern crate script_traits; -#[phase(plugin)] +#[no_link] #[plugin] #[macro_use] extern crate "plugins" as servo_plugins; extern crate "net" as servo_net; extern crate "util" as servo_util; -#[phase(plugin, link)] +#[macro_use] extern crate style; extern crate "msg" as servo_msg; extern crate url; extern crate uuid; extern crate string_cache; -#[phase(plugin)] +#[no_link] #[macro_use] #[plugin] extern crate string_cache_macros; pub mod cors; |