make main have callconv C

This commit is contained in:
Folkert 2021-09-19 00:27:57 +02:00
parent cde9f97415
commit 8429325eed

View File

@ -76,7 +76,7 @@ export fn roc_panic(c_ptr: *c_void, tag_id: u32) callconv(.C) void {
const Unit = extern struct {};
pub fn main() u8 {
pub export fn main() callconv(.C) u8 {
const allocator = std.heap.page_allocator;
const size = @intCast(usize, roc__mainForHost_size());