Merge branch 'feat-api-re-export' into feat-deprecated-runtime-core

This commit is contained in:
Ivan Enderlin
2020-06-25 11:17:02 +02:00
3 changed files with 6 additions and 4 deletions

View File

@@ -5,8 +5,7 @@ use crate::types::Val;
use crate::FunctionType; use crate::FunctionType;
use crate::NativeFunc; use crate::NativeFunc;
use crate::RuntimeError; use crate::RuntimeError;
pub use inner::{HostFunction, WasmExternType, WasmTypeList}; pub use inner::{HostFunction, WasmExternType, WasmTypeList, WithEnv, WithoutEnv};
use inner::{WithEnv, WithoutEnv};
use std::cell::RefCell; use std::cell::RefCell;
use std::cmp::max; use std::cmp::max;
use wasmer_runtime::{ use wasmer_runtime::{

View File

@@ -3,7 +3,9 @@ mod global;
mod memory; mod memory;
mod table; mod table;
pub use self::function::{Function, HostFunction, WasmExternType, WasmTypeList}; pub use self::function::{
Function, HostFunction, WasmExternType, WasmTypeList, WithEnv, WithoutEnv,
};
pub use self::global::Global; pub use self::global::Global;
pub use self::memory::Memory; pub use self::memory::Memory;
pub use self::table::Table; pub use self::table::Table;

View File

@@ -19,7 +19,8 @@ mod utils;
pub use crate::exports::{ExportError, Exportable, Exports}; pub use crate::exports::{ExportError, Exportable, Exports};
pub use crate::externals::{ pub use crate::externals::{
Extern, Function, Global, HostFunction, Memory, Table, WasmExternType, WasmTypeList, Extern, Function, Global, HostFunction, Memory, Table, WasmExternType, WasmTypeList, WithEnv,
WithoutEnv,
}; };
pub use crate::import_object::{ImportObject, ImportObjectIterator, LikeNamespace}; pub use crate::import_object::{ImportObject, ImportObjectIterator, LikeNamespace};
pub use crate::instance::Instance; pub use crate::instance::Instance;