aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/script.rs
diff options
context:
space:
mode:
authorLars Bergstrom <lars@lars.com>2014-04-05 10:11:38 +0200
committerLars Bergstrom <lars@lars.com>2014-04-27 15:46:12 -0500
commit948daf242278b22d7a15c1c594129785d1cff538 (patch)
tree513345ea70f134bf4a85d8e2cdbe166bfee904f6 /src/components/script/script.rs
parent4942cc76bd2c88e5fdc2b4de4c1ac4576100b455 (diff)
downloadservo-948daf242278b22d7a15c1c594129785d1cff538.tar.gz
servo-948daf242278b22d7a15c1c594129785d1cff538.zip
This batch of changes upgrades Servo to work with the Rust upgrade as of
April 10, 2014. The main changes are to privacy, to work around the issues with incorrect bounds on the libstd `Arc<Mutex<T>>`, and the various API changes strewn throughout the libraries.
Diffstat (limited to 'src/components/script/script.rs')
-rw-r--r--src/components/script/script.rs17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/components/script/script.rs b/src/components/script/script.rs
index 7cbb2c28d1f..e72dc8af372 100644
--- a/src/components/script/script.rs
+++ b/src/components/script/script.rs
@@ -2,17 +2,17 @@
* 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/. */
-#[crate_id = "github.com/mozilla/servo#script:0.1"];
-#[crate_type = "lib"];
-#[crate_type = "dylib"];
-#[crate_type = "rlib"];
+#![crate_id = "github.com/mozilla/servo#script:0.1"]
+#![crate_type = "lib"]
+#![crate_type = "dylib"]
+#![crate_type = "rlib"]
-#[comment = "The Servo Parallel Browser Project"];
-#[license = "MPL"];
+#![comment = "The Servo Parallel Browser Project"]
+#![license = "MPL"]
-#[feature(globs, macro_rules, struct_variant, phase)];
+#![feature(globs, macro_rules, struct_variant, phase)]
-#[feature(phase)];
+#![feature(phase)]
#[phase(syntax, link)]
extern crate log;
@@ -21,6 +21,7 @@ extern crate geom;
extern crate hubbub;
extern crate encoding;
extern crate js;
+extern crate libc;
extern crate native;
extern crate serialize;
#[phase(syntax)]