1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-21 15:04:11 -05:00

chore: bump rusty_v8 to 0.65.0 (#18231)

Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
This commit is contained in:
Divy Srivastava 2023-03-17 03:32:09 +05:30 committed by GitHub
parent 1300d6178e
commit 5a1d3ea614
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 9 additions and 7 deletions

4
Cargo.lock generated
View file

@ -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",

View file

@ -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" }

View file

@ -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)
}

View file

@ -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

View file

@ -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();