Compare commits

...

2 Commits

Author SHA1 Message Date
elchukc
c50df18580 Merge 4d3b246ef6 into 2b6fc68ad1 2024-10-05 13:03:31 +05:30
elchc
4d3b246ef6 add return type on _start() in code block 2024-09-25 10:53:15 -04:00

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 {}