Update tests to make no_mangle attribute unsafe

Required since Rust 2024 edition
This commit is contained in:
Philipp Oppermann
2025-03-27 15:50:07 +01:00
parent e4b3ed6d42
commit 1d0aa17531
2 changed files with 3 additions and 3 deletions

View File

@@ -7,7 +7,7 @@
use blog_os::println;
use core::panic::PanicInfo;
#[no_mangle] // don't mangle the name of this function
#[unsafe(no_mangle)] // don't mangle the name of this function
pub extern "C" fn _start() -> ! {
test_main();