emit:executable
emit executable "path" main = fn () -> i64 { ... }
emit executable debug "path" main = fn () -> i64 { ... }Compiles and links a native executable. The debug form retains symbols and source/local information.
Example
emit executable "./hello" main = fn () -> i64 { return 0 }