mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 07:14:46 +00:00
emit LLVM IR that can be compiled to wasm
This commit is contained in:
parent
5a7a9e9520
commit
0a7f7a2772
9 changed files with 33 additions and 25 deletions
|
@ -133,7 +133,7 @@ fn hash_builtin<'a, 'ctx, 'env>(
|
|||
// let zig deal with big vs small string
|
||||
call_bitcode_fn(
|
||||
env,
|
||||
&[seed.into(), build_str::str_to_i128(env, val).into()],
|
||||
&[seed.into(), build_str::str_to_c_abi(env, val).into()],
|
||||
bitcode::DICT_HASH_STR,
|
||||
)
|
||||
.into_int_value()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue