emit:object
emit object "path.o" name = fn (...) -> result { ... }Writes a relocatable native object. Link it into another output with link object.
Example
emit object "add.o" add = fn (a:i64, b:i64) -> i64 { return a + b }emit object "path.o" name = fn (...) -> result { ... }Writes a relocatable native object. Link it into another output with link object.
Example
emit object "add.o" add = fn (a:i64, b:i64) -> i64 { return a + b }