diff --git a/Cargo.toml b/Cargo.toml index c92a4a1e44afdc291098882db89177f62cfb60ad..75e14bae1ff60a933730330de79eeb2406616182 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,9 +13,9 @@ anyhow = "1.0.44" tracing = "0.1" tracing-subscriber = {version = "0.3.14", features = ["env-filter"] } semver = "^1.0" -wasmtime = "0.30.0" -wasmtime-wasi = { version= "0.30.0", features = ["tokio"]} -wasi-common = "0.30.0" +wasmtime = "2.0.1" +wasmtime-wasi = { version= "2.0.1", features = ["tokio"]} +wasi-common = "2.0.1" serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" serde_derive = "1.0" diff --git a/src/wrapper/wasmtime_runtime.rs b/src/wrapper/wasmtime_runtime.rs index 6d5e9cc1c18bb3c87dac380b158bc002bb7c8ac0..9c83b4ddf499688f8b8fa6c1147faefb0a3a26b3 100644 --- a/src/wrapper/wasmtime_runtime.rs +++ b/src/wrapper/wasmtime_runtime.rs @@ -28,9 +28,8 @@ impl WasmtimeRuntime { .wasm_bulk_memory(true) .wasm_multi_value(true) .wasm_multi_memory(true) - .wasm_module_linking(false) // Disable profiler - .profiler(ProfilingStrategy::None)? + .profiler(ProfilingStrategy::None) .cranelift_opt_level(OptLevel::SpeedAndSize) // Allocate resources on demand because we can't predict how many instances will exist .allocation_strategy(InstanceAllocationStrategy::OnDemand)