From a66e808c0f15a42b6e9b5b5c42cc02d458835da1 Mon Sep 17 00:00:00 2001 From: Adam Langley Date: Tue, 7 Jan 2025 10:31:33 -0800 Subject: [PATCH] Revert "Always try and enable the new_uninit feature." This reverts commit d678fbfb4802deac0258a9a53eac960d6e6e1bc5. The original change broke Chromium: ``` error[E0725]: the feature `new_uninit` is not in the list of allowed features --> ../../third_party/boringssl/src/rust/bssl-crypto/src/lib.rs:28:12 | 28 | #![feature(new_uninit)] | ^^^^^^^^^^ ``` Change-Id: I6732a720a5705cfe7b0219b5d9d02a911af0f89a Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/74987 Auto-Submit: Adam Langley Commit-Queue: Adam Langley Reviewed-by: David Benjamin Commit-Queue: David Benjamin --- rust/bssl-crypto/src/lib.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/rust/bssl-crypto/src/lib.rs b/rust/bssl-crypto/src/lib.rs index 5cc3a7a9df..bd6876010b 100644 --- a/rust/bssl-crypto/src/lib.rs +++ b/rust/bssl-crypto/src/lib.rs @@ -23,10 +23,6 @@ )] #![cfg_attr(not(any(feature = "std", test)), no_std)] -// This crate requires the |new_uninit| feature which is available by -// default in Rust 1.82 but present and usable in some earlier versions. -#![feature(new_uninit)] - //! Rust BoringSSL bindings extern crate alloc;