bytecodealliance / wasmtime

A fast and secure runtime for WebAssembly
https://wasmtime.dev/
Apache License 2.0
14.82k stars 1.24k forks source link

Remove the `ModuleRuntimeInfo` trait #8778

Closed alexcrichton closed 3 weeks ago

alexcrichton commented 3 weeks ago

Replace it with an enum of the two possibilities that it can be. This removes the need to have a trait dispatch indirection in the vm module. Previously this was required as wasmtime-runtime was a separate crate, but now it's no longer required.