diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2016-01-24 22:53:00 -0700 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2016-01-24 22:53:00 -0700 |
| commit | bcb18338cd15dfd7a4e3e80e74d1fe395870fa48 (patch) | |
| tree | d44e1166bc509300c1dc39817aa9b9362732945f /example/hello_world/hello.zig | |
| parent | 29a83f648b8f0b6f757e07e3b1a6e15e8764b670 (diff) | |
| download | zig-bcb18338cd15dfd7a4e3e80e74d1fe395870fa48.tar.gz zig-bcb18338cd15dfd7a4e3e80e74d1fe395870fa48.zip | |
update std lib to use error type and global variables
Diffstat (limited to 'example/hello_world/hello.zig')
| -rw-r--r-- | example/hello_world/hello.zig | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/example/hello_world/hello.zig b/example/hello_world/hello.zig index c116eeea7b..42c72e6fb2 100644 --- a/example/hello_world/hello.zig +++ b/example/hello_world/hello.zig @@ -3,6 +3,5 @@ export executable "hello"; import "std.zig"; pub fn main(args: [][]u8) %void => { - //stderr.print_str("Hello, world!\n"); - print_str("Hello, world!\n"); + stdout.printf("Hello, world!\n"); } |
