Modify imports macro to work with all things that are exports

This commit is contained in:
Lachlan Sneff
2019-01-25 16:40:07 -08:00
parent db3a20a76b
commit a58f3318f0
6 changed files with 21 additions and 15 deletions

View File

@ -83,7 +83,7 @@ pub use wasmer_runtime_core::vm::Ctx;
pub use wasmer_runtime_core::{compile_with, validate};
pub use wasmer_runtime_core::error;
pub use wasmer_runtime_core::imports;
pub use wasmer_runtime_core::{imports, func};
pub mod wasm {
pub use wasmer_runtime_core::instance::Function;