aboutsummaryrefslogtreecommitdiffstats
path: root/components
diff options
context:
space:
mode:
authorMatt Brubeck <mbrubeck@limpet.net>2015-05-05 10:04:37 -0700
committerMatt Brubeck <mbrubeck@limpet.net>2015-05-05 10:04:42 -0700
commita0e45beae8b8fe21b9f25f538ab776cf159d966d (patch)
treef0f056151727e2919d204ca3244275e402ecfe83 /components
parent49aed6555dbc008c1a378c5cbb303f5467232b6b (diff)
downloadservo-a0e45beae8b8fe21b9f25f538ab776cf159d966d.tar.gz
servo-a0e45beae8b8fe21b9f25f538ab776cf159d966d.zip
Get rid of old `libc` feature
Diffstat (limited to 'components')
-rw-r--r--components/servo/Cargo.lock1
-rw-r--r--components/servo/Cargo.toml1
-rw-r--r--components/servo/lib.rs2
-rw-r--r--components/servo/main.rs2
4 files changed, 4 insertions, 2 deletions
diff --git a/components/servo/Cargo.lock b/components/servo/Cargo.lock
index 4748de71fca..4b74955c37b 100644
--- a/components/servo/Cargo.lock
+++ b/components/servo/Cargo.lock
@@ -11,6 +11,7 @@ dependencies = [
"gfx_tests 0.0.1",
"glutin_app 0.0.1",
"layout 0.0.1",
+ "libc 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
"msg 0.0.1",
"net 0.0.1",
"net_tests 0.0.1",
diff --git a/components/servo/Cargo.toml b/components/servo/Cargo.toml
index 2a57db1d9ee..7693687e1cb 100644
--- a/components/servo/Cargo.toml
+++ b/components/servo/Cargo.toml
@@ -103,3 +103,4 @@ optional = true
url = "0.2.16"
time = "0.1.12"
bitflags = "*"
+libc = "*"
diff --git a/components/servo/lib.rs b/components/servo/lib.rs
index f3837112a82..8ff1ee63ff3 100644
--- a/components/servo/lib.rs
+++ b/components/servo/lib.rs
@@ -16,7 +16,7 @@
//
// The `Browser` is fed events from a generic type that implements the
// `WindowMethods` trait.
-#![feature(libc, thread_local)]
+#![feature(thread_local)]
extern crate compositing;
extern crate devtools;
diff --git a/components/servo/main.rs b/components/servo/main.rs
index 6de2b2d1399..0358a971b3e 100644
--- a/components/servo/main.rs
+++ b/components/servo/main.rs
@@ -15,7 +15,7 @@
//!
//! [glutin]: https://github.com/tomaka/glutin
-#![feature(start, libc)]
+#![feature(start)]
// The Servo engine
extern crate servo;