about summary refs log tree commit diff
path: root/compiler/rustc_interface
diff options
context:
space:
mode:
authorklensy <klensy@users.noreply.github.com>2022-06-13 21:50:44 +0300
committerklensy <klensy@users.noreply.github.com>2022-06-13 22:20:51 +0300
commit4ea4e2e76db49ce8ee5dbb9656f1a07a24a5c674 (patch)
tree84e9a7e48fb9299f9f00e61940a143f794c7b06b /compiler/rustc_interface
parent083721a1a7365d3afe1521cd2661b2201aac0450 (diff)
downloadrust-4ea4e2e76db49ce8ee5dbb9656f1a07a24a5c674.tar.gz
rust-4ea4e2e76db49ce8ee5dbb9656f1a07a24a5c674.zip
remove currently unused deps
Diffstat (limited to 'compiler/rustc_interface')
-rw-r--r--compiler/rustc_interface/Cargo.toml4
1 files changed, 3 insertions, 1 deletions
diff --git a/compiler/rustc_interface/Cargo.toml b/compiler/rustc_interface/Cargo.toml
index 47dc5f2ef86..26b1b9948a0 100644
--- a/compiler/rustc_interface/Cargo.toml
+++ b/compiler/rustc_interface/Cargo.toml
@@ -7,7 +7,6 @@ edition = "2021"
 doctest = false
 
 [dependencies]
-libc = "0.2"
 libloading = "0.7.1"
 tracing = "0.1"
 rustc-rayon-core = { version = "0.4.0", optional = true }
@@ -49,6 +48,9 @@ rustc_trait_selection = { path = "../rustc_trait_selection" }
 rustc_ty_utils = { path = "../rustc_ty_utils" }
 tempfile = "3.2"
 
+[target.'cfg(unix)'.dependencies]
+libc = "0.2"
+
 [target.'cfg(windows)'.dependencies]
 winapi = { version = "0.3", features = ["libloaderapi"] }