Merge pull request #2032 from rtfeldman/joshuawarner32/internal-linkage

Use Internal linkage to keep roc function symbols in the final binary
This commit is contained in:
Folkert de Vries 2021-11-20 12:30:41 +01:00 committed by GitHub
commit 25a64f4a57
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -4136,7 +4136,7 @@ fn build_proc_header<'a, 'ctx, 'env>(
env.module,
fn_name.as_str(),
fn_type,
Linkage::Private,
Linkage::Internal,
FAST_CALL_CONV,
);
@ -6240,7 +6240,7 @@ fn build_foreign_symbol<'a, 'ctx, 'env>(
env.module,
&fastcc_function_name,
fastcc_type,
Linkage::Private,
Linkage::Internal,
FAST_CALL_CONV,
);