summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Cargo.lock4
-rw-r--r--core/Cargo.toml2
-rw-r--r--ext/ffi/lib.rs9
-rw-r--r--serde_v8/Cargo.toml2
4 files changed, 8 insertions, 9 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 2e22575dc..c743fbdd3 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -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",
diff --git a/core/Cargo.toml b/core/Cargo.toml
index 944b45faa..3ba62913f 100644
--- a/core/Cargo.toml
+++ b/core/Cargo.toml
@@ -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"
diff --git a/ext/ffi/lib.rs b/ext/ffi/lib.rs
index ac792de44..926d88ac7 100644
--- a/ext/ffi/lib.rs
+++ b/ext/ffi/lib.rs
@@ -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)
};
diff --git a/serde_v8/Cargo.toml b/serde_v8/Cargo.toml
index 82ed2f440..ae3d3c9bc 100644
--- a/serde_v8/Cargo.toml
+++ b/serde_v8/Cargo.toml
@@ -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"