mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-08 05:38:19 +00:00
Fixed RuntimeError start when instantiating wasmer-js
This commit is contained in:
@@ -47,8 +47,6 @@ pub use crate::instance::{
|
||||
};
|
||||
pub use crate::memory::{LinearMemory, Memory, MemoryError, MemoryStyle};
|
||||
pub use crate::mmap::Mmap;
|
||||
#[deprecated(since = "2.1.0", note = "ModuleInfo, ExportsIterator, ImportsIterator should be imported from wasmer_types.")]
|
||||
pub use wasmer_types::{ModuleInfo, ExportsIterator, ImportsIterator};
|
||||
pub use crate::probestack::PROBESTACK;
|
||||
pub use crate::sig_registry::SignatureRegistry;
|
||||
pub use crate::table::{LinearTable, Table, TableElement, TableStyle};
|
||||
@@ -62,6 +60,11 @@ pub use crate::vmcontext::{
|
||||
pub use crate::vmoffsets::{TargetSharedSignatureIndex, VMOffsets};
|
||||
use loupe::MemoryUsage;
|
||||
pub use wasmer_types::VMExternRef;
|
||||
#[deprecated(
|
||||
since = "2.1.0",
|
||||
note = "ModuleInfo, ExportsIterator, ImportsIterator should be imported from wasmer_types."
|
||||
)]
|
||||
pub use wasmer_types::{ExportsIterator, ImportsIterator, ModuleInfo};
|
||||
|
||||
/// Version number of this crate.
|
||||
pub const VERSION: &str = env!("CARGO_PKG_VERSION");
|
||||
|
||||
Reference in New Issue
Block a user