Define a _start entry point function

This commit is contained in:
Philipp Oppermann
2023-03-25 18:57:41 +01:00
parent 1838cfcad3
commit 73bb171e4f

View File

@@ -3,6 +3,11 @@
use core::panic::PanicInfo;
#[no_mangle]
pub extern "C" fn _start() -> ! {
loop {}
}
/// This function is called on panic.
#[panic_handler]
fn panic(_info: &PanicInfo) -> ! {