Add comment to Emscripten module.

This commit is contained in:
Sergey Pepyakin
2017-11-27 16:14:32 +03:00
parent 0ea8a48a64
commit f532bff101
2 changed files with 6 additions and 3 deletions

View File

@ -1,3 +1,6 @@
//! This module provides some of the simplest exports
//! from the Emscripten runtime, such as `STACKTOP` or `abort`.
use std::sync::{Arc, Weak};
use std::collections::HashMap;
use builder::module;
@ -27,7 +30,7 @@ const DEFAULT_TABLE_BASE: u32 = 0;
/// Default tableBase variable value.
const DEFAULT_MEMORY_BASE: u32 = 0;
/// Defaul table size.
/// Default table size.
const DEFAULT_TABLE_SIZE: u32 = 64;
/// Index of default memory.