Always try and enable the new_uninit feature. The crate won't build without it anyway, so unconditionally try and enable it. Change-Id: Ief8a7dbf8d0af3040b1832424007150987ce654d Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/74947 Auto-Submit: Pete Bentley <prb@google.com> Commit-Queue: Adam Langley <agl@google.com> Reviewed-by: Adam Langley <agl@google.com>
diff --git a/rust/bssl-crypto/src/lib.rs b/rust/bssl-crypto/src/lib.rs index bd68760..5cc3a7a 100644 --- a/rust/bssl-crypto/src/lib.rs +++ b/rust/bssl-crypto/src/lib.rs
@@ -23,6 +23,10 @@ )] #![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;