From 197a1ebf65a8ee692acedc698b98d92aec291ade Mon Sep 17 00:00:00 2001 From: Trevor Gross Date: Wed, 4 Jun 2025 02:48:47 +0000 Subject: [PATCH] Remove optional dependency on compiler-builtins Since `hashbrown` always has `extern crate alloc`, it will get `compiler-builtins` via `alloc`'s dependency. There is no longer any need to depend on the crates.io version. --- Cargo.toml | 2 -- 1 file changed, 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 70a390107..d90e8b916 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -22,7 +22,6 @@ serde = { version = "1.0.25", default-features = false, optional = true } # When built as part of libstd core = { version = "1.0.0", optional = true, package = "rustc-std-workspace-core" } -compiler_builtins = { version = "0.1.2", optional = true } alloc = { version = "1.0.0", optional = true, package = "rustc-std-workspace-alloc" } # Support for allocators that use allocator-api2 @@ -56,7 +55,6 @@ rustc-internal-api = [] rustc-dep-of-std = [ "nightly", "core", - "compiler_builtins", "alloc", "rustc-internal-api", ]