1
0
mirror of https://github.com/fluencelabs/wasmer synced 2025-06-22 05:01:33 +00:00

fix arg passing to getcwd syscall

This commit is contained in:
Mark McCaskey
2019-03-26 14:37:47 -07:00
parent ad897b2076
commit 49db149224
3 changed files with 15 additions and 1 deletions
lib/emscripten/src

@ -27,6 +27,7 @@ mod file_descriptor;
pub mod stdio;
// EMSCRIPTEN APIS
mod bitwise;
mod emscripten_target;
mod env;
mod errno;
@ -622,6 +623,9 @@ pub fn generate_emscripten_env(globals: &mut EmscriptenGlobals) -> ImportObject
"_llvm_cos_f64" => func!(crate::math::_llvm_cos_f64),
"_emscripten_random" => func!(crate::math::_emscripten_random),
// Bitwise
"_llvm_bswap_i64" => func!(crate::bitwise::_llvm_bswap_i64),
// Jump
"__setjmp" => func!(crate::jmp::__setjmp),
"__longjmp" => func!(crate::jmp::__longjmp),