about summary refs log tree commit diff
path: root/compiler/rustc_driver_impl
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2025-08-27 19:50:53 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2025-08-28 20:10:54 +1000
commit12dc789bc657b1f0b695c39f81de9269f8c709b4 (patch)
tree289a7544d38e89ff09456d0d9aaf965b61fc6dbb /compiler/rustc_driver_impl
parent75060001c0acb03f4febebb81909175cd2798bca (diff)
downloadrust-12dc789bc657b1f0b695c39f81de9269f8c709b4.tar.gz
rust-12dc789bc657b1f0b695c39f81de9269f8c709b4.zip
Add `libc` to `[workspace.dependencies]`.
Diffstat (limited to 'compiler/rustc_driver_impl')
-rw-r--r--compiler/rustc_driver_impl/Cargo.toml2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_driver_impl/Cargo.toml b/compiler/rustc_driver_impl/Cargo.toml
index 7e9af054aff..b4729d2871e 100644
--- a/compiler/rustc_driver_impl/Cargo.toml
+++ b/compiler/rustc_driver_impl/Cargo.toml
@@ -56,7 +56,7 @@ tracing.workspace = true
 
 [target.'cfg(all(unix, any(target_env = "gnu", target_os = "macos")))'.dependencies]
 # tidy-alphabetical-start
-libc = "0.2"
+libc.workspace = true
 # tidy-alphabetical-end
 
 [target.'cfg(windows)'.dependencies.windows]