mirror of
https://github.com/AsahiLinux/m1n1
synced 2024-11-21 22:23:05 +00:00
rust: 1.82.0 compat
Signed-off-by: Hector Martin <marcan@marcan.st>
This commit is contained in:
parent
d54b97881a
commit
b901c2706f
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue