mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 15:21:12 +00:00
upgrade inkwell
This commit is contained in:
parent
0fd184392f
commit
8528e5affb
7 changed files with 26 additions and 16 deletions
|
@ -537,7 +537,9 @@ fn clone_nonempty_str<'a, 'ctx, 'env>(
|
|||
|
||||
// Copy the bytes from the original array into the new
|
||||
// one we just malloc'd.
|
||||
builder.build_memcpy(clone_ptr, ptr_bytes, bytes_ptr, ptr_bytes, len);
|
||||
builder
|
||||
.build_memcpy(clone_ptr, ptr_bytes, bytes_ptr, ptr_bytes, len)
|
||||
.unwrap();
|
||||
|
||||
// Create a fresh wrapper struct for the newly populated array
|
||||
let struct_type = collection(ctx, env.ptr_bytes);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue