bytecodealliance / lucet

Lucet, the Sandboxing WebAssembly Compiler.
Apache License 2.0
4.07k stars 164 forks source link

Update wasmtime, now with shiny new api #659

Closed pchickey closed 3 years ago

pchickey commented 3 years ago

Update the wasmtime submodule to the latest main, which has landed the new-api PR.

Deletes all of the crates temporarily vendored in #655, points all those dependencies back into the wasmtime submodule.

Some small adjustments for changes between vendoring and landing new-api: I unwound a knot around wiggle-generate's AsyncConf/AsyncFunctions, I had to turn off wiggle's wasmtime integration, and the runtime borrow checker is no longer in a separate crate.

The latest wasmtime submodule was no longer compatible with Rust 1.50.0, so I upgraded to 1.52.1, and fixed all the ensuing warnings which require us to change panic!(TerminationDetails...) to std::panic::panic_any(TerminationDetails...).