Skip to content

Commit 0ba124f

Browse files
authored
Remove the compiler-builtins optional dependency. (#1483)
As advised in #1475, the compiler-builtins dependency is no longer needed. It was only used in rustc-dep-of-std mode. Fixes #1475.
1 parent 388fc02 commit 0ba124f

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

Cargo.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ bitflags = { version = "2.4.0", default-features = false }
2121
# Special dependencies used in rustc-dep-of-std mode.
2222
core = { version = "1.0.0", optional = true, package = "rustc-std-workspace-core" }
2323
rustc-std-workspace-alloc = { version = "1.0.0", optional = true } # not aliased here but in lib.rs because of name collision with the alloc feature
24-
compiler_builtins = { version = '0.1.49', optional = true }
2524

2625
# Dependencies for platforms where linux_raw is supported, in addition to libc:
2726
#
@@ -229,10 +228,8 @@ alloc = []
229228
rustc-dep-of-std = [
230229
"core",
231230
"rustc-std-workspace-alloc",
232-
"compiler_builtins",
233231
"linux-raw-sys/rustc-dep-of-std",
234232
"bitflags/rustc-dep-of-std",
235-
"compiler_builtins?/rustc-dep-of-std",
236233
]
237234

238235
# Enable `rustix::io::try_close`. The rustix developers do not intend the

0 commit comments

Comments
 (0)