mirror of
https://github.com/extism/extism.git
synced 2026-01-10 06:18:00 -05:00
chore: update to wasmtime 4.0.0 (#181)
This commit is contained in:
@@ -9,9 +9,9 @@ repository = "https://github.com/extism/extism"
|
||||
description = "Extism runtime component"
|
||||
|
||||
[dependencies]
|
||||
wasmtime = "3.0.0"
|
||||
wasmtime-wasi = "3.0.0"
|
||||
wasmtime-wasi-nn = {version = "3.0.0", optional=true}
|
||||
wasmtime = "4.0.0"
|
||||
wasmtime-wasi = "4.0.0"
|
||||
wasmtime-wasi-nn = {version = "4.0.0", optional=true}
|
||||
anyhow = "1"
|
||||
serde = {version = "1", features = ["derive"]}
|
||||
serde_json = "1"
|
||||
|
||||
@@ -279,7 +279,7 @@ impl Plugin {
|
||||
// by calling the `hs_init` export
|
||||
if let Some(init) = self.get_func("hs_init") {
|
||||
if let Some(cleanup) = self.get_func("hs_exit") {
|
||||
if init.typed::<(i32, i32), (), _>(&self.memory.store).is_err() {
|
||||
if init.typed::<(i32, i32), ()>(&self.memory.store).is_err() {
|
||||
trace!(
|
||||
"hs_init function found with type {:?}",
|
||||
init.ty(&self.memory.store)
|
||||
|
||||
Reference in New Issue
Block a user