mirror of https://github.com/lapce/lapce.git
update wasmtime (#2710)
* update wasmtime * update backtrace * fix type * update tokio
This commit is contained in:
parent
114fdd379a
commit
59510d7c22
File diff suppressed because it is too large
Load Diff
|
@ -60,9 +60,9 @@ grep-matcher = "0.1.6"
|
|||
grep-regex = "0.1.9"
|
||||
|
||||
# wasm
|
||||
wasmtime = "1.0.0"
|
||||
wasmtime-wasi = "1.0.0"
|
||||
wasi-common = "1.0.0"
|
||||
wasmtime = "14.0.0"
|
||||
wasmtime-wasi = "14.0.0"
|
||||
wasi-common = "14.0.0"
|
||||
|
||||
[dependencies.wasi-experimental-http-wasmtime]
|
||||
git = "https://github.com/lapce/wasi-experimental-http"
|
||||
|
|
|
@ -465,7 +465,7 @@ pub fn start_volt(
|
|||
.get_func(&mut store, "handle_rpc")
|
||||
.ok_or_else(|| anyhow!("can't convet to function"))
|
||||
.unwrap()
|
||||
.typed::<(), (), _>(&mut store)
|
||||
.typed::<(), ()>(&mut store)
|
||||
.unwrap();
|
||||
for msg in io_rx {
|
||||
if let Ok(msg) = serde_json::to_string(&msg) {
|
||||
|
|
Loading…
Reference in New Issue