Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ops): fallback when FastApiOneByteString is not utf8 #18518

Merged
merged 4 commits into from
Mar 31, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Prev Previous commit
Next Next commit
update tests
  • Loading branch information
littledivy committed Mar 31, 2023
commit 5e3a9add5b1212e29f4de1f8d0d799efc2259535
2 changes: 1 addition & 1 deletion ops/optimizer_tests/cow_str.out
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ impl op_cow_str {
use deno_core::v8::fast_api::CType;
Some(
deno_core::v8::fast_api::FastFunction::new(
&[V8Value, SeqOneByteString],
&[V8Value, SeqOneByteString, CallbackOptions],
CType::Void,
op_cow_str_fast_fn as *const ::std::ffi::c_void,
),
Expand Down
2 changes: 1 addition & 1 deletion ops/optimizer_tests/owned_string.out
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ impl op_string_length {
use deno_core::v8::fast_api::CType;
Some(
deno_core::v8::fast_api::FastFunction::new(
&[V8Value, SeqOneByteString],
&[V8Value, SeqOneByteString, CallbackOptions],
CType::Uint32,
op_string_length_fast_fn as *const ::std::ffi::c_void,
),
Expand Down
2 changes: 1 addition & 1 deletion ops/optimizer_tests/strings.out
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ impl op_string_length {
use deno_core::v8::fast_api::CType;
Some(
deno_core::v8::fast_api::FastFunction::new(
&[V8Value, SeqOneByteString],
&[V8Value, SeqOneByteString, CallbackOptions],
CType::Uint32,
op_string_length_fast_fn as *const ::std::ffi::c_void,
),
Expand Down