Skip to content

Commit b832e11

Browse files
experiment
1 parent 8d4fd60 commit b832e11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hugr-llvm/src/emit.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ impl<'c, 'a, H> EmitModuleContext<'c, 'a, H> {
134134
.ok_or(anyhow!("function has type params"))?;
135135
let llvm_func_ty = self.llvm_func_type(func_ty)?;
136136
let name = self.name_func(name, node);
137-
self.get_func_impl(name, llvm_func_ty, None)
137+
self.get_func_impl(name, llvm_func_ty, Some(Linkage::Private))
138138
}
139139

140140
/// Adds or gets the [`FunctionValue`] in the [Module] corresponding to the given [`FuncDefn`].

0 commit comments

Comments
 (0)