diff options
| author | Yuki Okushi <jtitor@2k36.org> | 2022-06-15 12:02:02 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-15 12:02:02 +0900 |
| commit | bb4805118a6274a83e21c78bb96e3cbd9e9dca36 (patch) | |
| tree | ee5b629dbae032f04920e4301bb5e1d2e3fcd8dc /compiler/rustc_interface | |
| parent | b770012202726a6dbf8368f13c9deac9938919b7 (diff) | |
| parent | 4ea4e2e76db49ce8ee5dbb9656f1a07a24a5c674 (diff) | |
| download | rust-bb4805118a6274a83e21c78bb96e3cbd9e9dca36.tar.gz rust-bb4805118a6274a83e21c78bb96e3cbd9e9dca36.zip | |
Rollup merge of #98067 - klensy:compiler-deps2, r=Dylan-DPC
compiler: remove unused deps Removed unused dependencies in compiler crates and moves few `libc` under `target.cfg(unix)` .
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"] } |
