Make tunables a Trait

This commit is contained in:
Syrus
2020-05-02 14:28:25 -07:00
parent b5ebd7b084
commit e343c9ea9b
12 changed files with 156 additions and 126 deletions

View File

@@ -9,6 +9,7 @@ mod memory_view;
mod module;
mod ptr;
mod store;
mod tunables;
mod types;
pub use crate::exports::{ExportError, Exportable, Exports};
@@ -19,6 +20,7 @@ pub use crate::memory_view::MemoryView;
pub use crate::module::Module;
pub use crate::ptr::{Array, Item, WasmPtr};
pub use crate::store::{Engine, Store, StoreObject};
pub use crate::tunables::Tunables;
pub use crate::types::{
AnyRef, ExportType, ExternType, FuncType, GlobalType, HostInfo, HostRef, ImportType,
MemoryType, Mutability, TableType, Val, ValType,