diff --git a/crates/nxm-engine/Cargo.toml b/crates/nxm-engine/Cargo.toml index 6bfd631..91eb722 100644 --- a/crates/nxm-engine/Cargo.toml +++ b/crates/nxm-engine/Cargo.toml @@ -6,7 +6,7 @@ license.workspace = true repository.workspace = true [dependencies] -wasmtime = { version = "41", features = ["component-model"] } -wasmtime-wasi = "41" +wasmtime = { version = "45", features = ["component-model"] } +wasmtime-wasi = "45" anyhow = "1" tokio = { version = "1", features = ["full"] } diff --git a/crates/nxm-engine/src/main.rs b/crates/nxm-engine/src/main.rs index 58773d7..6771d42 100644 --- a/crates/nxm-engine/src/main.rs +++ b/crates/nxm-engine/src/main.rs @@ -223,7 +223,6 @@ async fn main() -> anyhow::Result<()> { let mut config = wasmtime::Config::new(); config.wasm_component_model(true); - config.async_support(true); let engine = Engine::new(&config)?; let start = Instant::now(); @@ -284,4 +283,4 @@ async fn main() -> anyhow::Result<()> { Ok(()) } -use anyhow::Context as _; +use wasmtime::error::Context as _;