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

@ -205,7 +205,7 @@ fn build_kernel_elf(
&env_rustflags,
&rustc_linker_script_arg,
"-C relocation-model=static",
"-Z relro-level=off",
"-C relro-level=off",
// We do not really allow unwinding except for kernel testing. However, we need to specify
// this to show backtraces when panicking.
"-C panic=unwind",