mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-10 14:48:27 +00:00
Use standard API for js and sys for Module. Added Engine in js
This commit is contained in:
@@ -429,6 +429,9 @@ compile_error!(
|
||||
"The `js` feature must be enabled only for the `wasm32` target (either `wasm32-unknown-unknown` or `wasm32-wasi`)."
|
||||
);
|
||||
|
||||
mod engine;
|
||||
mod module;
|
||||
|
||||
#[cfg(feature = "sys")]
|
||||
mod sys;
|
||||
|
||||
@@ -441,5 +444,8 @@ mod js;
|
||||
#[cfg(feature = "js")]
|
||||
pub use js::*;
|
||||
|
||||
pub use engine::{AsEngineRef, Engine};
|
||||
pub use module::{IoCompileError, Module};
|
||||
|
||||
mod into_bytes;
|
||||
pub use into_bytes::IntoBytes;
|
||||
|
||||
Reference in New Issue
Block a user