mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Do not use libc in profile on Windows
This commit is contained in:
parent
043b375ce3
commit
7bc768f358
2 changed files with 4 additions and 1 deletions
|
@ -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"
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue