fix zig hosts ensure they export main

This commit is contained in:
Luke Boswell 2024-08-04 21:12:09 +10:00
parent af7015f125
commit b4ec32126f
No known key found for this signature in database
GPG key ID: F6DB3C9DB47377B0
10 changed files with 36 additions and 21 deletions

View file

@ -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();