Fix: no_mangle is an unsafe attribute since Rust 2024

This commit is contained in:
Philipp Oppermann
2025-03-27 15:13:34 +01:00
parent b1aec7eb66
commit e4b3ed6d42

View File

@@ -57,7 +57,7 @@ pub fn exit_qemu(exit_code: QemuExitCode) {
/// Entry point for `cargo xtest`
#[cfg(test)]
#[no_mangle]
#[unsafe(no_mangle)]
pub extern "C" fn _start() -> ! {
test_main();
loop {}