diff options
| author | bors <bors@rust-lang.org> | 2025-03-20 04:20:13 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2025-03-20 04:20:13 +0000 |
| commit | 4e2b096ed6c8a1400624a54f6c4fd0c0ce48a579 (patch) | |
| tree | f9b611e2325e6d4e21e7a274c5be119a6760a0be /compiler/rustc_metadata | |
| parent | 70237a8cb905fc48ed6148d2f2dba756535a5940 (diff) | |
| parent | e2320b32c5268913349549fc59972443975ceec4 (diff) | |
Auto merge of #137930 - nnethercote:use-Wunused-crate-dependencies, r=jieyouxu,Nadrieril
Use `Wunused-crate-dependencies` for the compiler An implementation of https://github.com/rust-lang/compiler-team/issues/844. r? `@jieyouxu`
Diffstat (limited to 'compiler/rustc_metadata')
| -rw-r--r-- | compiler/rustc_metadata/Cargo.toml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/compiler/rustc_metadata/Cargo.toml b/compiler/rustc_metadata/Cargo.toml index 1f5d41014d4..08dcc3d519a 100644 --- a/compiler/rustc_metadata/Cargo.toml +++ b/compiler/rustc_metadata/Cargo.toml @@ -6,7 +6,6 @@ edition = "2024" [dependencies] # tidy-alphabetical-start bitflags = "2.4.1" -libc = "0.2" libloading = "0.8.0" odht = { version = "0.3.1", features = ["nightly"] } rustc_abi = { path = "../rustc_abi" } @@ -30,3 +29,8 @@ rustc_target = { path = "../rustc_target" } tempfile = "3.2" tracing = "0.1" # tidy-alphabetical-end + +[target.'cfg(target_os = "aix")'.dependencies] +# tidy-alphabetical-start +libc = "0.2" +# tidy-alphabetical-end |
