Adjust for Rust unstable feature's stability change

This commit is contained in:
Zhang Junyang
2024-06-20 15:55:36 +00:00
committed by Tate, Hongliang Tian
parent 5c524348de
commit ab1d931cb7
9 changed files with 21 additions and 19 deletions

View File

@ -8,7 +8,6 @@
//! currently not needed by Asterinas.
//!
#![feature(offset_of)]
#![cfg_attr(not(test), no_std)]
/// Magic stored in the boot protocol header.

View File

@ -5,5 +5,5 @@ rustflags = [
"-Ctarget-feature=+crt-static",
"-Zplt=yes",
"-Zrelax-elf-relocations=yes",
"-Zrelro-level=full",
"-Crelro-level=full",
]