mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-06 12:48:20 +00:00
!temp Move HostFunction, Func & co. into wasmer.
Because `Func` needs an access to the runtime API (`wasmer-runtime`) to trap properly, either we move parts of `wasmer-runtime` to `wasm-common`, or we move parts of `wasm-common` into `wasmer`. I decided to go with the second approach since `wasmer` is the only crate to use `HostFunction` & co. It's not “common” by definition, and it's way easier (for the moment).
This commit is contained in:
2
lib/api/src/externals/mod.rs
vendored
2
lib/api/src/externals/mod.rs
vendored
@@ -3,7 +3,7 @@ mod global;
|
||||
mod memory;
|
||||
mod table;
|
||||
|
||||
pub use self::function::Function;
|
||||
pub use self::function::{Function, HostFunction, WasmTypeList};
|
||||
pub use self::global::Global;
|
||||
pub use self::memory::Memory;
|
||||
pub use self::table::Table;
|
||||
|
||||
Reference in New Issue
Block a user