mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 06:44:46 +00:00
fix zig hosts ensure they export main
This commit is contained in:
parent
af7015f125
commit
b4ec32126f
10 changed files with 36 additions and 21 deletions
|
@ -33,7 +33,7 @@ export fn read_host_result() i32 {
|
|||
return host_result;
|
||||
}
|
||||
|
||||
pub fn main() !void {
|
||||
pub export fn main() u8 {
|
||||
const host = host_called_directly_from_main();
|
||||
const js = js_called_directly_from_main();
|
||||
const app = roc__app_proc_1_exposed();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue