mirror of
https://github.com/denoland/deno.git
synced 2024-11-25 15:29:32 -05:00
chore: upgrade rusty_v8 to 0.47.0 (#15247)
This commit is contained in:
parent
248bfda8d3
commit
1bdf5a2081
4 changed files with 8 additions and 9 deletions
4
Cargo.lock
generated
4
Cargo.lock
generated
|
@ -5172,9 +5172,9 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "v8"
|
||||
version = "0.46.0"
|
||||
version = "0.47.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "585d0003513563279cbbdfa0b1eb739de0f9c34f556727e885c10748a71e1780"
|
||||
checksum = "8bfba6cf63e2f839461fc45c75be2d0d803164123c50646c0dc6b2ef193b00a1"
|
||||
dependencies = [
|
||||
"bitflags",
|
||||
"fslock",
|
||||
|
|
|
@ -31,7 +31,7 @@ serde_json = { version = "1.0.79", features = ["preserve_order"] }
|
|||
serde_v8 = { version = "0.54.0", path = "../serde_v8" }
|
||||
sourcemap = "=6.0.1"
|
||||
url = { version = "2.2.2", features = ["serde"] }
|
||||
v8 = { version = "0.46.0", default-features = false }
|
||||
v8 = { version = "0.47.0", default-features = false }
|
||||
|
||||
[[example]]
|
||||
name = "http_bench_json_ops"
|
||||
|
|
|
@ -651,15 +651,14 @@ pub struct FfiFastCallTemplate {
|
|||
}
|
||||
|
||||
impl fast_api::FastFunction for FfiFastCallTemplate {
|
||||
type Signature = ();
|
||||
fn function(&self) -> Self::Signature {}
|
||||
|
||||
fn raw(&self) -> *const c_void {
|
||||
fn function(&self) -> *const c_void {
|
||||
self.symbol_ptr
|
||||
}
|
||||
|
||||
fn args(&self) -> &'static [fast_api::Type] {
|
||||
Box::leak(self.args.clone())
|
||||
}
|
||||
|
||||
fn return_type(&self) -> fast_api::CType {
|
||||
self.ret
|
||||
}
|
||||
|
@ -767,7 +766,7 @@ fn make_sync_fn<'s>(
|
|||
.data(v8::External::new(scope, sym as *mut Symbol as *mut _).into());
|
||||
|
||||
let func = if let Some(fast_ffi_templ) = fast_ffi_templ {
|
||||
builder.build_fast(scope, fast_ffi_templ)
|
||||
builder.build_fast(scope, &fast_ffi_templ, None)
|
||||
} else {
|
||||
builder.build(scope)
|
||||
};
|
||||
|
|
|
@ -17,7 +17,7 @@ bytes = "1"
|
|||
derive_more = "0.99.17"
|
||||
serde = { version = "1.0.136", features = ["derive"] }
|
||||
smallvec = { version = "1.8", features = ["union"] }
|
||||
v8 = { version = "0.46.0", default-features = false }
|
||||
v8 = { version = "0.47.0", default-features = false }
|
||||
|
||||
[dev-dependencies]
|
||||
bencher = "0.1"
|
||||
|
|
Loading…
Reference in a new issue