update std lib to use error type and global variables

This commit is contained in:
Andrew Kelley
2016-01-24 22:53:00 -07:00
parent 29a83f648b
commit bcb18338cd
10 changed files with 295 additions and 302 deletions

View File

@@ -5,7 +5,7 @@ import "foo.zig";
pub fn main(args: [][]u8) i32 => {
private_function();
print_str("OK 2\n");
stdout.printf("OK 2\n");
return 0;
}