Improved emscripten imported function arguments

This commit is contained in:
Syrus
2019-01-24 15:44:08 -08:00
parent 6d8465721f
commit 842105f7d9
6 changed files with 22 additions and 19 deletions

View File

@ -1,6 +1,7 @@
// use std::collections::HashMap;
use wasmer_runtime_core::vm::Ctx;
pub extern "C" fn ___seterrno(value: i32) {
pub extern "C" fn ___seterrno(value: i32, _ctx: &mut Ctx) {
debug!("emscripten::___seterrno {}", value);
// TODO: Incomplete impl
eprintln!("failed to set errno!");