mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 06:14:46 +00:00
use WeakAny linking to link in compiler_rt stuff
This commit is contained in:
parent
da495244c5
commit
2b84fd0009
1 changed files with 1 additions and 1 deletions
|
@ -370,7 +370,7 @@ fn add_intrinsics<'ctx>(ctx: &'ctx Context, module: &Module<'ctx>) {
|
|||
let i64_type = ctx.i64_type();
|
||||
|
||||
if let Some(func) = module.get_function("__muloti4") {
|
||||
func.set_linkage(Linkage::External);
|
||||
func.set_linkage(Linkage::WeakAny);
|
||||
}
|
||||
|
||||
add_intrinsic(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue