test_gen: get some tests working with roc_wasm_interp

This commit is contained in:
Brian Carroll 2022-12-09 21:15:24 +00:00
parent 8c7d9dbff8
commit 90449f45f3
No known key found for this signature in database
GPG key ID: 5C7B2EC4101703C0
5 changed files with 120 additions and 169 deletions

View file

@ -6,10 +6,10 @@ pub mod wasi;
// Main external interface
pub use instance::Instance;
pub use wasi::WasiDispatcher;
use roc_wasm_module::{Value, ValueType, WasmModule};
use value_stack::ValueStack;
use wasi::WasiDispatcher;
pub trait ImportDispatcher {
/// Dispatch a call from WebAssembly to your own code, based on module and function name.