This commit is contained in:
elchukc
2024-10-05 13:03:31 +05:30
committed by GitHub

View File

@@ -656,7 +656,7 @@ Now we can use `println` in our `_start` function:
// in src/main.rs
#[no_mangle]
pub extern "C" fn _start() {
pub extern "C" fn _start() -> ! {
println!("Hello World{}", "!");
loop {}