Skip to content

Commit ba32f8e

Browse files
committed
uefi: fix build
`allocator_api` is a `core::alloc` feature, not a feature of the `alloc` crate. This fixes build issues.
1 parent b8edf4c commit ba32f8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: uefi/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@
212212
//! [uefi-std-tr-issue]: https://github.com/rust-lang/rust/issues/100499
213213
//! [unstable features]: https://doc.rust-lang.org/unstable-book/
214214
215-
#![cfg_attr(all(feature = "unstable", feature = "alloc"), feature(allocator_api))]
215+
#![cfg_attr(feature = "unstable", feature(allocator_api))]
216216
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
217217
#![no_std]
218218
#![deny(

0 commit comments

Comments
 (0)