Skip to content

Commit

Permalink
Always try and enable the new_uninit feature.
Browse files Browse the repository at this point in the history
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 <[email protected]>
Commit-Queue: Adam Langley <[email protected]>
Reviewed-by: Adam Langley <[email protected]>
  • Loading branch information
prbprbprb authored and Boringssl LUCI CQ committed Jan 7, 2025
1 parent d777ea2 commit d678fbf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions rust/bssl-crypto/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit d678fbf

Please sign in to comment.