about summary refs log tree commit diff
path: root/compiler/rustc_data_structures
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_data_structures
parent75060001c0acb03f4febebb81909175cd2798bca (diff)
Add `libc` to `[workspace.dependencies]`.
Diffstat (limited to 'compiler/rustc_data_structures')
-rw-r--r--compiler/rustc_data_structures/Cargo.toml2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_data_structures/Cargo.toml b/compiler/rustc_data_structures/Cargo.toml
index 0ac9e02508a..c9e2d050c1b 100644
--- a/compiler/rustc_data_structures/Cargo.toml
+++ b/compiler/rustc_data_structures/Cargo.toml
@@ -47,7 +47,7 @@ features = [
 
 [target.'cfg(unix)'.dependencies]
 # tidy-alphabetical-start
-libc = "0.2"
+libc.workspace = true
 # tidy-alphabetical-end
 
 [target.'cfg(not(target_arch = "wasm32"))'.dependencies]