Auto merge of #11215 - nox:greener-than-hulk, r=mbrubeck

Do not use libc in profile on Windows

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11215)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2016-05-16 17:24:16 -07:00
commit db5846ed7d
2 changed files with 4 additions and 1 deletions

View file

@ -15,7 +15,6 @@ util = {path = "../util"}
ipc-channel = {git = "https://github.com/servo/ipc-channel"}
hbs-pow = "0.2"
log = "0.3.5"
libc = "0.2"
serde = "0.7"
serde_json = "0.7"
serde_macros = "0.7"
@ -26,3 +25,6 @@ task_info = {path = "../../support/rust-task_info"}
[target.'cfg(target_os = "linux")'.dependencies]
regex = "0.1.55"
[target.'cfg(not(target_os = "windows"))'.dependencies]
libc = "0.2"

View file

@ -17,6 +17,7 @@
extern crate alloc_jemalloc;
extern crate hbs_pow;
extern crate ipc_channel;
#[cfg(not(target_os = "windows"))]
extern crate libc;
#[macro_use]
extern crate log;