diff options
author | Divy Srivastava <dj.srivastava23@gmail.com> | 2023-03-17 03:32:09 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-16 22:02:09 +0000 |
commit | 5a1d3ea6148dc40fad3dad5660118dd1882c97eb (patch) | |
tree | 4cdc504a7f02422849a9411b6383349d52015d13 | |
parent | 1300d6178e8863a220fa301e9fde8be3580d9b66 (diff) |
chore: bump rusty_v8 to 0.65.0 (#18231)
Co-authored-by: Bartek IwaĆczuk <biwanczuk@gmail.com>
-rw-r--r-- | Cargo.lock | 4 | ||||
-rw-r--r-- | Cargo.toml | 2 | ||||
-rw-r--r-- | core/bindings.rs | 2 | ||||
-rw-r--r-- | ext/ffi/dlfcn.rs | 2 | ||||
-rw-r--r-- | ext/flash/lib.rs | 6 |
5 files changed, 9 insertions, 7 deletions
diff --git a/Cargo.lock b/Cargo.lock index 1fca2a9f7..05b9344fa 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -5525,9 +5525,9 @@ dependencies = [ [[package]] name = "v8" -version = "0.64.0" +version = "0.65.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a2287b485fa902172da3722d7e557e083afd63921777e0c6e5c0fba28e6d59d3" +checksum = "c1e4801bee61fc57f81441444d55c9c627e491aeca53b1c1e454ff8831c6f300" dependencies = [ "bitflags", "fslock", diff --git a/Cargo.toml b/Cargo.toml index 6dff03d4d..784f65af0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -43,7 +43,7 @@ license = "MIT" repository = "https://github.com/denoland/deno" [workspace.dependencies] -v8 = { version = "0.64.0", default-features = false } +v8 = { version = "0.65.0", default-features = false } deno_ast = { version = "0.24.0", features = ["transpiling"] } deno_core = { version = "0.175.0", path = "./core" } diff --git a/core/bindings.rs b/core/bindings.rs index 12a2945eb..7970f9aab 100644 --- a/core/bindings.rs +++ b/core/bindings.rs @@ -207,7 +207,7 @@ fn add_op_to_deno_core_ops( // Don't initialize fast ops when snapshotting, the external references count mismatch. if !snapshot_options.will_snapshot() { // TODO(@littledivy): Support fast api overloads in ops. - builder.build_fast(scope, &**fast_function, None) + builder.build_fast(scope, &**fast_function, None, None, None) } else { builder.build(scope) } diff --git a/ext/ffi/dlfcn.rs b/ext/ffi/dlfcn.rs index 99287b234..4f58248e6 100644 --- a/ext/ffi/dlfcn.rs +++ b/ext/ffi/dlfcn.rs @@ -295,6 +295,8 @@ fn make_sync_fn<'s>( scope, &turbocall::make_template(sym, &trampoline), None, + None, + None, ); fast_call_alloc = Some(Box::into_raw(Box::new(trampoline))); func diff --git a/ext/flash/lib.rs b/ext/flash/lib.rs index 41287d003..77b8b6791 100644 --- a/ext/flash/lib.rs +++ b/ext/flash/lib.rs @@ -551,7 +551,7 @@ fn op_flash_make_request<'scope>( ) .data(v8::External::new(scope, ctx as *mut _).into()); - let func = builder.build_fast(scope, &NextRequestFast, None); + let func = builder.build_fast(scope, &NextRequestFast, None, None, None); let func: v8::Local<v8::Value> = func.get_function(scope).unwrap().into(); let key = v8::String::new(scope, "nextRequest").unwrap(); @@ -574,7 +574,7 @@ fn op_flash_make_request<'scope>( ) .data(v8::External::new(scope, ctx as *mut _).into()); - let func = builder.build_fast(scope, &GetMethodFast, None); + let func = builder.build_fast(scope, &GetMethodFast, None, None, None); let func: v8::Local<v8::Value> = func.get_function(scope).unwrap().into(); let key = v8::String::new(scope, "getMethod").unwrap(); @@ -612,7 +612,7 @@ fn op_flash_make_request<'scope>( ) .data(v8::External::new(scope, ctx as *mut _).into()); - let func = builder.build_fast(scope, &RespondFast, None); + let func = builder.build_fast(scope, &RespondFast, None, None, None); let func: v8::Local<v8::Value> = func.get_function(scope).unwrap().into(); let key = v8::String::new(scope, "respond").unwrap(); |