mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 06:13:07 +00:00
* Fix linker memory leaks found while running `zig build test-cases`. * Add missing target to test manifest.
12 lines
186 B
Zig
12 lines
186 B
Zig
const std = @import("std");
|
|
pub fn main() void {
|
|
const str = "Hello World!\n";
|
|
_ = std.os.plan9.pwrite(1, str, str.len, 0);
|
|
}
|
|
|
|
// run
|
|
// target=x86_64-plan9
|
|
//
|
|
// Hello World
|
|
//
|