fix lstat64; increase num returned by heap size

This commit is contained in:
Mark McCaskey
2019-04-05 16:50:50 -07:00
parent ea08a96b32
commit 40deb3e6ed
3 changed files with 19 additions and 20 deletions

View File

@ -20,7 +20,7 @@ pub fn _emscripten_memcpy_big(ctx: &mut Ctx, dest: u32, src: u32, len: u32) -> u
pub fn _emscripten_get_heap_size(_ctx: &mut Ctx) -> u32 {
debug!("emscripten::_emscripten_get_heap_size",);
// TODO: Fix implementation
162_107_392
162_107_392 * 2
}
/// emscripten: _emscripten_resize_heap