Fixed a memory corruption issue with JS memory operations that were reusing invalid views

This commit is contained in:
John Sharratt's Shared Account
2022-07-29 22:54:14 +10:00
parent 00ce9114ef
commit 5aa356f222
71 changed files with 1053 additions and 966 deletions

View File

@@ -1,11 +1,13 @@
pub(crate) mod function;
mod global;
pub(crate) mod memory;
pub(crate) mod memory_view;
mod table;
pub use self::function::{FromToNativeWasmType, Function, HostFunction, WasmTypeList};
pub use self::global::Global;
pub use self::memory::{Memory, MemoryError};
pub use self::memory_view::MemoryView;
pub use self::table::Table;
use crate::js::export::Export;