diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2015-11-27 21:24:11 -0700 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2015-11-27 21:24:47 -0700 |
| commit | cb4773ce29fbac856811f69a3fb5b17b7e83d44d (patch) | |
| tree | 5c87a210beae92c243dcd7818865447b35d44be5 /example/hello.zig | |
| parent | 4cc95174a77f7cbb42b371bb892c55a8349bc7fa (diff) | |
| download | zig-cb4773ce29fbac856811f69a3fb5b17b7e83d44d.tar.gz zig-cb4773ce29fbac856811f69a3fb5b17b7e83d44d.zip | |
add root export declaration which is overridable by command line options
Diffstat (limited to 'example/hello.zig')
| -rw-r--r-- | example/hello.zig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/example/hello.zig b/example/hello.zig index 9e6257eaff..d9efc46e96 100644 --- a/example/hello.zig +++ b/example/hello.zig @@ -1,3 +1,5 @@ +export executable "hello"; + #link("c") extern { fn puts(s: *mut u8) -> i32; |
