mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 06:44:46 +00:00
Fix quicksort benchmark
This commit is contained in:
parent
1c828f7811
commit
35e132e6d7
4 changed files with 90 additions and 16 deletions
|
@ -1365,10 +1365,10 @@ pub fn build_proc_header<'a, 'ctx, 'env>(
|
|||
}
|
||||
|
||||
let fn_type = get_fn_type(&ret_type, &arg_basic_types);
|
||||
|
||||
let fn_name = layout_ids
|
||||
.get(symbol, layout)
|
||||
.to_symbol_string(symbol, &env.interns);
|
||||
|
||||
let fn_val = env
|
||||
.module
|
||||
.add_function(fn_name.as_str(), fn_type, Some(Linkage::Private));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue