v8: update for changes to v8__String__WriteUtf8

https://github.com/lightpanda-io/zig-v8-fork/pull/211
This commit is contained in:
Karl Seguin committed 2026-09-25 11:52:42 +08:00
1 parent 722241fe0d
commit db98e85ce3
8 files changed
+13 -12

No files matched your search

+2 -1
View File
@@ -975,7 +975,8 @@ fn stringToOwned(
self.env.isolate.handle,
buf.ptr,
buf.len,
v8.NO_NULL_TERMINATION | v8.REPLACE_INVALID_UTF8,
v8.WRITE_REPLACE_INVALID_UTF8,
null,
);
return buf[0..written];
}