Skip to content

Commit

Permalink
rust: 1.82.0 compat
Browse files Browse the repository at this point in the history
Signed-off-by: Hector Martin <[email protected]>
  • Loading branch information
marcan committed Nov 3, 2024
1 parent d54b978 commit b901c27
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rust/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
// SPDX-License-Identifier: MIT
#![no_std]
#![deny(unsafe_op_in_unsafe_fn)]
#![feature(cfg_version)]
#![feature(alloc_error_handler)]
#![feature(new_uninit)]
#![cfg_attr(version("1.82"), feature(new_zeroed_alloc))]

#[macro_use]
extern crate alloc;
Expand Down

0 comments on commit b901c27

Please sign in to comment.