From 1a53647359837006fb3863e5701af261097d161d Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Sat, 28 Jun 2025 11:11:46 -0700 Subject: [PATCH] Remove the compiler-builtins optional dependency. As advised in #1475, the compiler-builtins dependency is no longer needed. It was only used in rustc-dep-of-std mode. Fixes #1475. --- Cargo.toml | 3 --- 1 file changed, 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 77caf6a40..f9630e7a1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -21,7 +21,6 @@ bitflags = { version = "2.4.0", default-features = false } # Special dependencies used in rustc-dep-of-std mode. core = { version = "1.0.0", optional = true, package = "rustc-std-workspace-core" } 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 -compiler_builtins = { version = '0.1.49', optional = true } # Dependencies for platforms where linux_raw is supported, in addition to libc: # @@ -229,10 +228,8 @@ alloc = [] rustc-dep-of-std = [ "core", "rustc-std-workspace-alloc", - "compiler_builtins", "linux-raw-sys/rustc-dep-of-std", "bitflags/rustc-dep-of-std", - "compiler_builtins?/rustc-dep-of-std", ] # Enable `rustix::io::try_close`. The rustix developers do not intend the