mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-01 15:51:12 +00:00
Move expect
zig code out of utils
This commit is contained in:
parent
06203163eb
commit
9b05d8dd50
5 changed files with 164 additions and 149 deletions
|
@ -192,7 +192,7 @@ fn create_llvm_module<'a>(
|
|||
for function in FunctionIterator::from_module(module) {
|
||||
let name = function.get_name().to_str().unwrap();
|
||||
if name.starts_with("roc_builtins") {
|
||||
if name.starts_with("roc_builtins.utils") {
|
||||
if name.starts_with("roc_builtins.expect") {
|
||||
function.set_linkage(Linkage::External);
|
||||
} else {
|
||||
function.set_linkage(Linkage::Internal);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue