Skip to content

Commit

Permalink
Revert "Always try and enable the new_uninit feature."
Browse files Browse the repository at this point in the history
This reverts commit d678fbf.

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 <agl@google.com>
Commit-Queue: Adam Langley <agl@google.com>
Reviewed-by: David Benjamin <davidben@google.com>
Commit-Queue: David Benjamin <davidben@google.com>
  • Loading branch information
Adam Langley authored and Boringssl LUCI CQ committed Jan 7, 2025
1 parent 0093ff3 commit a66e808
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions rust/bssl-crypto/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a66e808

Please sign in to comment.