Merge pull request #3398 from rtfeldman/wasm-str-full-coverage

Wasm Str: 100% tests passing
This commit is contained in:
Folkert de Vries 2022-07-04 14:51:52 +02:00 committed by GitHub
commit 4523e90bc7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 595 additions and 597 deletions

View file

@ -168,10 +168,10 @@ pub fn str_from_utf8_range<'a, 'ctx, 'env>(
call_void_bitcode_fn(
env,
&[
result_ptr.into(),
list_symbol_to_c_abi(env, scope, list).into(),
count,
start,
result_ptr.into(),
],
bitcode::STR_FROM_UTF8_RANGE,
);
@ -194,9 +194,9 @@ pub fn str_from_utf8<'a, 'ctx, 'env>(
call_void_bitcode_fn(
env,
&[
result_ptr.into(),
list_symbol_to_c_abi(env, scope, list).into(),
pass_update_mode(env, update_mode),
result_ptr.into(),
],
bitcode::STR_FROM_UTF8,
);