Use general store

This commit is contained in:
Syrus Akbary
2023-02-09 20:29:24 +01:00
parent 2a067fdb8c
commit 4c9a154e77
35 changed files with 66 additions and 283 deletions

View File

@@ -431,6 +431,7 @@ compile_error!(
mod engine;
mod module;
mod store;
#[cfg(feature = "sys")]
mod sys;
@@ -446,6 +447,9 @@ pub use js::*;
pub use engine::{AsEngineRef, Engine};
pub use module::{IoCompileError, Module};
pub use store::{OnCalledHandler, Store, StoreId};
#[cfg(feature = "sys")]
pub use store::{TrapHandlerFn, Tunables};
mod into_bytes;
pub use into_bytes::IntoBytes;