b28b7f63d1
See #22
12 lines
202 B
Zig
12 lines
202 B
Zig
export executable "hello";
|
|
|
|
#link("c")
|
|
extern {
|
|
fn printf(__format: &const u8, ...) i32;
|
|
}
|
|
|
|
export fn main(argc: i32, argv: &&u8, env: &&u8) i32 => {
|
|
printf(c"Hello, world!\n");
|
|
return 0;
|
|
}
|