diff options
Diffstat (limited to 'compiler/rustc_interface')
| -rw-r--r-- | compiler/rustc_interface/Cargo.toml | 4 |
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"] } |
