Meg's Mirrors
zig
about
heads
tags
log
tree
search
Search
zig
test
cases
hello_world.zig
pretty
plain
permalink
blame
history
•
13 lines
•
205 B
1
extern fn puts(s: [*:0]const u8) c_int;
2
3
pub fn main() void {
4
_ = puts("hello world!");
5
}
6
7
// run
8
// backend=selfhosted,llvm
9
// target=x86_64-linux,x86_64-macos
10
// link_libc=true
11
//
12
// hello world!
13
//