diff --git a/components/script/Cargo.toml b/components/script/Cargo.toml index abe76755878..f58356ff9f5 100644 --- a/components/script/Cargo.toml +++ b/components/script/Cargo.toml @@ -70,3 +70,4 @@ url = "0.2.16" time = "0.1.12" bitflags = "*" rustc-serialize = "*" +libc = "*" diff --git a/components/script/lib.rs b/components/script/lib.rs index d0419505e9a..35d481d5b76 100644 --- a/components/script/lib.rs +++ b/components/script/lib.rs @@ -9,7 +9,6 @@ #![feature(hash)] #![feature(int_uint)] #![feature(io)] -#![feature(libc)] #![feature(plugin)] #![feature(rustc_private)] #![feature(std_misc)] diff --git a/components/servo/Cargo.lock b/components/servo/Cargo.lock index f6db2335671..8e5656be4ff 100644 --- a/components/servo/Cargo.lock +++ b/components/servo/Cargo.lock @@ -451,8 +451,9 @@ dependencies = [ [[package]] name = "js" version = "0.1.0" -source = "git+https://github.com/servo/rust-mozjs#f01d85186415afdaded8179ba7455534931778ca" +source = "git+https://github.com/servo/rust-mozjs#db08a4eacdb3d92df9a38c8a5d7ad1e1ee0fef4e" dependencies = [ + "libc 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", "mozjs-sys 0.0.0 (git+https://github.com/servo/mozjs)", ] @@ -703,6 +704,7 @@ dependencies = [ "html5ever 0.0.0 (git+https://github.com/servo/html5ever)", "hyper 0.1.10 (git+https://github.com/servo/hyper?branch=servo)", "js 0.1.0 (git+https://github.com/servo/rust-mozjs)", + "libc 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", "msg 0.0.1", "net 0.0.1", "plugins 0.0.1", diff --git a/ports/cef/Cargo.lock b/ports/cef/Cargo.lock index 4bbee6a3b44..f07912af54f 100644 --- a/ports/cef/Cargo.lock +++ b/ports/cef/Cargo.lock @@ -454,8 +454,9 @@ dependencies = [ [[package]] name = "js" version = "0.1.0" -source = "git+https://github.com/servo/rust-mozjs#f01d85186415afdaded8179ba7455534931778ca" +source = "git+https://github.com/servo/rust-mozjs#db08a4eacdb3d92df9a38c8a5d7ad1e1ee0fef4e" dependencies = [ + "libc 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", "mozjs-sys 0.0.0 (git+https://github.com/servo/mozjs)", ] @@ -711,6 +712,7 @@ dependencies = [ "html5ever 0.0.0 (git+https://github.com/servo/html5ever)", "hyper 0.1.10 (git+https://github.com/servo/hyper?branch=servo)", "js 0.1.0 (git+https://github.com/servo/rust-mozjs)", + "libc 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", "msg 0.0.1", "net 0.0.1", "plugins 0.0.1", diff --git a/ports/gonk/Cargo.lock b/ports/gonk/Cargo.lock index 8d0e7620986..6a751b1951c 100644 --- a/ports/gonk/Cargo.lock +++ b/ports/gonk/Cargo.lock @@ -374,8 +374,9 @@ dependencies = [ [[package]] name = "js" version = "0.1.0" -source = "git+https://github.com/servo/rust-mozjs#f01d85186415afdaded8179ba7455534931778ca" +source = "git+https://github.com/servo/rust-mozjs#db08a4eacdb3d92df9a38c8a5d7ad1e1ee0fef4e" dependencies = [ + "libc 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", "mozjs-sys 0.0.0 (git+https://github.com/servo/mozjs)", ] @@ -618,6 +619,7 @@ dependencies = [ "html5ever 0.0.0 (git+https://github.com/servo/html5ever)", "hyper 0.1.10 (git+https://github.com/servo/hyper?branch=servo)", "js 0.1.0 (git+https://github.com/servo/rust-mozjs)", + "libc 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", "msg 0.0.1", "net 0.0.1", "plugins 0.0.1",