summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/Cargo.toml2
-rw-r--r--core/ops_builtin_v8.rs2
-rw-r--r--core/runtime.rs4
3 files changed, 2 insertions, 6 deletions
diff --git a/core/Cargo.toml b/core/Cargo.toml
index c72497bbf..bc51af72c 100644
--- a/core/Cargo.toml
+++ b/core/Cargo.toml
@@ -35,7 +35,7 @@ serde_v8 = { version = "0.69.0", path = "../serde_v8" }
smallvec = "1.8"
sourcemap = "6.1"
url = { version = "2.3.1", features = ["serde", "expose_internals"] }
-v8 = { version = "0.54.0", default-features = false }
+v8 = { version = "0.55.0", default-features = false }
[[example]]
name = "http_bench_json_ops"
diff --git a/core/ops_builtin_v8.rs b/core/ops_builtin_v8.rs
index 7c7975489..c72e114bd 100644
--- a/core/ops_builtin_v8.rs
+++ b/core/ops_builtin_v8.rs
@@ -472,7 +472,7 @@ fn op_serialize(
}
let backing_store = buf.get_backing_store();
- buf.detach();
+ buf.detach(v8::undefined(scope).into());
let id = shared_array_buffer_store.insert(backing_store);
value_serializer.transfer_array_buffer(id, buf);
let id = v8::Number::new(scope, id as f64).into();
diff --git a/core/runtime.rs b/core/runtime.rs
index 376e0beb4..e85b7296a 100644
--- a/core/runtime.rs
+++ b/core/runtime.rs
@@ -197,14 +197,10 @@ fn v8_init(
v8::icu::set_common_data_71(&ICU_DATA.0).unwrap();
let flags = concat!(
- " --experimental-wasm-threads",
" --wasm-test-streaming",
" --harmony-import-assertions",
" --no-validate-asm",
" --turbo_fast_api_calls",
- // This flag prevents "unresolved external reference" panic during
- // build, which started happening in V8 10.6
- " --noexperimental-async-stack-tagging-api",
" --harmony-change-array-by-copy",
);