Add addition em functions to run tests

This commit is contained in:
Brandon Fish
2019-01-27 00:33:58 -06:00
parent 12def9da25
commit 6bbdaa1c53
4 changed files with 38 additions and 3 deletions

View File

@ -191,5 +191,5 @@ pub extern "C" fn _sysconf(name: c_int, _ctx: &mut Ctx) -> c_long {
pub extern "C" fn ___assert_fail(a: c_int, b: c_int, c: c_int, d: c_int, _ctx: &mut Ctx) {
debug!("emscripten::___assert_fail {} {} {} {}", a, b, c, d);
// TODO: Implement like emscripten expects regarding memory/page size
unimplemented!()
// TODO raise an error
}