wasm_interp: don't expose internal types

This commit is contained in:
Brian Carroll 2022-12-02 08:02:27 +00:00
parent 4714b4599a
commit c6e446da8d
No known key found for this signature in database
GPG Key ID: 5C7B2EC4101703C0

View File

@ -7,12 +7,8 @@ pub mod wasi;
// Main external interface
pub use instance::Instance;
// Exposed for testing only. Should eventually become private.
pub use call_stack::CallStack;
pub use instance::Action;
pub use value_stack::ValueStack;
use roc_wasm_module::Value;
use value_stack::ValueStack;
pub trait ImportDispatcher {
/// Dispatch a call from WebAssembly to your own code, based on module and function name.