add root export declaration which is overridable by command line options

This commit is contained in:
Andrew Kelley
2015-11-27 21:24:11 -07:00
parent 4cc95174a7
commit cb4773ce29
10 changed files with 206 additions and 30 deletions

View File

@@ -1,3 +1,5 @@
export executable "hello";
#link("c")
extern {
fn puts(s: *mut u8) -> i32;