mirror of
https://github.com/ziglang/zig.git
synced 2024-12-01 01:22:50 +00:00
f1d338194e
* Introduce the concept of packages. Closes #3 * Add support for error notes. * Introduce `@import` and `@c_import` builtin functions and remove the `import` and `c_import` top level declarations. * Introduce the `use` top level declaration. * Add `--check-unused` parameter to perform semantic analysis and codegen on all top level declarations, not just exported ones and ones referenced by exported ones. * Delete the root export node and add `--library` argument.
7 lines
158 B
Zig
7 lines
158 B
Zig
const test_runner = @import("test_runner.zig");
|
|
|
|
export fn main(argc: c_int, argv: &&u8) -> c_int {
|
|
test_runner.run_tests() %% return -1;
|
|
return 0;
|
|
}
|