mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 05:49:08 +00:00
cli: update run_wasm to use roc_wasm_interp
This commit is contained in:
parent
3ef171e620
commit
eaf0211808
2 changed files with 40 additions and 63 deletions
|
@ -6,9 +6,10 @@ pub mod wasi;
|
|||
|
||||
// Main external interface
|
||||
pub use instance::Instance;
|
||||
pub use wasi::WasiDispatcher;
|
||||
pub use wasi::{WasiDispatcher, WasiFile};
|
||||
|
||||
use roc_wasm_module::{Value, ValueType, WasmModule};
|
||||
pub use roc_wasm_module::Value;
|
||||
use roc_wasm_module::{ValueType, WasmModule};
|
||||
use value_stack::ValueStack;
|
||||
|
||||
pub trait ImportDispatcher {
|
||||
|
@ -31,7 +32,7 @@ impl Default for DefaultImportDispatcher<'_> {
|
|||
}
|
||||
|
||||
pub struct DefaultImportDispatcher<'a> {
|
||||
wasi: WasiDispatcher<'a>,
|
||||
pub wasi: WasiDispatcher<'a>,
|
||||
}
|
||||
|
||||
impl<'a> DefaultImportDispatcher<'a> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue