mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 14:54:47 +00:00
Use Internal linkage instead of Private to keep roc function symbols in the final binary
This commit is contained in:
parent
5b19337089
commit
45f9f800ef
2 changed files with 3 additions and 3 deletions
|
@ -183,7 +183,7 @@ impl<'ctx> PointerToRefcount<'ctx> {
|
|||
env.module,
|
||||
fn_name,
|
||||
fn_type,
|
||||
Linkage::Private,
|
||||
Linkage::Internal,
|
||||
FAST_CALL_CONV, // Because it's an internal-only function, it should use the fast calling convention.
|
||||
);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue