env module implementation

This commit is contained in:
Svyatoslav Nikolsky
2017-05-08 11:35:56 +03:00
parent 65b09ceba1
commit 640237ea56
3 changed files with 199 additions and 100 deletions

View File

@ -5,7 +5,7 @@ use elements::MemoryType;
use interpreter::Error;
/// Linear memory page size.
const LINEAR_MEMORY_PAGE_SIZE: u32 = 65536;
pub const LINEAR_MEMORY_PAGE_SIZE: u32 = 65536;
/// Linear memory instance.
pub struct MemoryInstance {