mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 21:39:07 +00:00
add all roc_ functions like roc_alloc instead of just builtins
This commit is contained in:
parent
35a452a69b
commit
29b5e11515
1 changed files with 2 additions and 2 deletions
|
@ -420,8 +420,8 @@ fn build_proc<'a, B: Backend<'a>>(
|
|||
}
|
||||
}
|
||||
Relocation::LinkedFunction { offset, name } => {
|
||||
// If the symbol is an undefined zig builtin, we need to add it here.
|
||||
if output.symbol_id(name.as_bytes()) == None && name.starts_with("roc_builtins.") {
|
||||
// If the symbol is an undefined roc function, we need to add it here.
|
||||
if output.symbol_id(name.as_bytes()) == None && name.starts_with("roc_") {
|
||||
let builtin_symbol = Symbol {
|
||||
name: name.as_bytes().to_vec(),
|
||||
value: 0,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue