Make function_env common for js/sys

This commit is contained in:
Syrus Akbary
2023-02-09 16:46:01 -08:00
parent 24253b86a7
commit bb3492900e
10 changed files with 52 additions and 189 deletions

View File

@@ -430,6 +430,7 @@ compile_error!(
);
mod engine;
mod function_env;
mod module;
mod store;
@@ -446,6 +447,7 @@ mod js;
pub use js::*;
pub use engine::{AsEngineRef, Engine};
pub use function_env::{FunctionEnv, FunctionEnvMut};
pub use module::{IoCompileError, Module};
pub use store::{OnCalledHandler, Store, StoreId};
#[cfg(feature = "sys")]