mirror of
https://github.com/roc-lang/roc.git
synced 2024-11-13 09:49:11 +03:00
make main have callconv C
This commit is contained in:
parent
cde9f97415
commit
8429325eed
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user