Skip to content

Commit d7654b9

Browse files
committed
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.
1 parent 1f50aac commit d7654b9

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

library/Cargo.lock

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,6 @@ dependencies = [
311311
"addr2line",
312312
"alloc",
313313
"cfg-if",
314-
"compiler_builtins",
315314
"core",
316315
"dlmalloc",
317316
"fortanix-sgx-abi",

library/std/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ cfg-if = { version = "1.0", features = ['rustc-dep-of-std'] }
1818
panic_unwind = { path = "../panic_unwind", optional = true }
1919
panic_abort = { path = "../panic_abort" }
2020
core = { path = "../core", public = true }
21-
compiler_builtins = { path = "../compiler-builtins/compiler-builtins" }
2221
unwind = { path = "../unwind" }
2322
hashbrown = { version = "0.15", default-features = false, features = [
2423
'rustc-dep-of-std',

0 commit comments

Comments
 (0)