rust: 1.82.0 compat

Signed-off-by: Hector Martin <marcan@marcan.st>
This commit is contained in:
Hector Martin 2024-11-03 19:44:58 +09:00
parent d54b97881a
commit b901c2706f

View file

@ -1,8 +1,10 @@
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
#![no_std] #![no_std]
#![deny(unsafe_op_in_unsafe_fn)] #![deny(unsafe_op_in_unsafe_fn)]
#![feature(cfg_version)]
#![feature(alloc_error_handler)] #![feature(alloc_error_handler)]
#![feature(new_uninit)] #![feature(new_uninit)]
#![cfg_attr(version("1.82"), feature(new_zeroed_alloc))]
#[macro_use] #[macro_use]
extern crate alloc; extern crate alloc;