about summary refs log tree commit diff
path: root/library
diff options
context:
space:
mode:
authorTrevor Gross <tmgross@umich.edu>2025-07-30 09:13:53 -0500
committerTrevor Gross <tmgross@umich.edu>2025-07-31 22:47:24 +0000
commit42bf044ce83a060bfb16694ff49dc92784abf0a0 (patch)
tree83f501075442cb64fe58b31990e89b6ae2602330 /library
parentdaf353461be9c1ea0c9b70023016b150a08baaf2 (diff)
downloadrust-42bf044ce83a060bfb16694ff49dc92784abf0a0.tar.gz
rust-42bf044ce83a060bfb16694ff49dc92784abf0a0.zip
Remove `std`'s dependency on `compiler-builtins`
`compiler-builtins` is already in the crate graph via `alloc`, and all
features related to `compiler-builtins` goes through `alloc`. There
isn't any reason that `std` needs this direct dependency, so remove it.
Diffstat (limited to 'library')
-rw-r--r--library/Cargo.lock1
-rw-r--r--library/std/Cargo.toml1
2 files changed, 0 insertions, 2 deletions
diff --git a/library/Cargo.lock b/library/Cargo.lock
index 9eca0e9b050..988f4a8f7d5 100644
--- a/library/Cargo.lock
+++ b/library/Cargo.lock
@@ -311,7 +311,6 @@ dependencies = [
  "addr2line",
  "alloc",
  "cfg-if",
- "compiler_builtins",
  "core",
  "dlmalloc",
  "fortanix-sgx-abi",
diff --git a/library/std/Cargo.toml b/library/std/Cargo.toml
index 29ab9be0e69..7bc52976500 100644
--- a/library/std/Cargo.toml
+++ b/library/std/Cargo.toml
@@ -18,7 +18,6 @@ cfg-if = { version = "1.0", features = ['rustc-dep-of-std'] }
 panic_unwind = { path = "../panic_unwind", optional = true }
 panic_abort = { path = "../panic_abort" }
 core = { path = "../core", public = true }
-compiler_builtins = { path = "../compiler-builtins/compiler-builtins" }
 unwind = { path = "../unwind" }
 hashbrown = { version = "0.15", default-features = false, features = [
     'rustc-dep-of-std',