Fix main argument handling

This commit is contained in:
Brandon Fish
2019-01-27 12:18:58 -06:00
parent 384c27c4e3
commit 9cef5482ee
2 changed files with 27 additions and 21 deletions

View File

@ -11,7 +11,13 @@ use super::utils::{allocate_on_stack, copy_cstr_into_wasm, copy_terminated_array
use super::EmscriptenData;
use wasmer_runtime_core::vm::Ctx;
pub extern "C" fn _getaddrinfo(_one: i32, _two: i32, _three: i32, _four: i32, _ctx: &mut Ctx) -> i32 {
pub extern "C" fn _getaddrinfo(
_one: i32,
_two: i32,
_three: i32,
_four: i32,
_ctx: &mut Ctx,
) -> i32 {
debug!("emscripten::_getaddrinfo");
-1
}