mirror of
https://github.com/fluencelabs/wasmer
synced 2025-06-21 20:51:32 +00:00
Rearrange some apis
This commit is contained in:
@ -4,24 +4,23 @@ extern crate field_offset;
|
||||
|
||||
#[macro_use]
|
||||
mod macros;
|
||||
pub mod backend;
|
||||
mod backing;
|
||||
pub mod export;
|
||||
pub mod import;
|
||||
mod instance;
|
||||
mod memory;
|
||||
mod mmap;
|
||||
pub mod module;
|
||||
mod recovery;
|
||||
mod sig_registry;
|
||||
mod sighandler;
|
||||
pub mod backend;
|
||||
pub mod export;
|
||||
pub mod import;
|
||||
pub mod module;
|
||||
pub mod memory;
|
||||
pub mod table;
|
||||
pub mod types;
|
||||
pub mod vm;
|
||||
pub mod vmcalls;
|
||||
|
||||
pub use self::instance::{FuncRef, Instance};
|
||||
pub use self::memory::LinearMemory;
|
||||
pub use self::instance::Instance;
|
||||
|
||||
/// Compile a webassembly module using the provided compiler.
|
||||
pub fn compile(wasm: &[u8], compiler: &dyn backend::Compiler) -> Result<module::Module, String> {
|
||||
|
Reference in New Issue
Block a user