Correctly use module name in linked functions

This commit is contained in:
Ayaz Hafiz 2022-07-20 23:17:54 -05:00 committed by Ayaz Hafiz
parent 7ef03440ef
commit 29b37a10df
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58
7 changed files with 33 additions and 36 deletions

View file

@ -19,14 +19,14 @@ extern "C" {
#[link_name = "roc__mainForHost_size"]
fn roc_main_size() -> i64;
#[link_name = "roc__mainForHost_1_Fx_caller"]
#[link_name = "roc__mainForHost_1__Fx_caller"]
fn call_Fx(flags: *const u8, closure_data: *const u8, output: *mut u8);
#[allow(dead_code)]
#[link_name = "roc__mainForHost_1_Fx_size"]
#[link_name = "roc__mainForHost_1__Fx_size"]
fn size_Fx() -> i64;
#[link_name = "roc__mainForHost_1_Fx_result_size"]
#[link_name = "roc__mainForHost_1__Fx_result_size"]
fn size_Fx_result() -> i64;
}