mirror of
https://github.com/fluencelabs/wasmer
synced 2024-12-13 06:15:33 +00:00
_gai_strerror()
This commit is contained in:
parent
7690febe77
commit
2eb5ca1e48
@ -197,6 +197,12 @@ pub fn ___gxx_personality_v0(
|
|||||||
debug!("emscripten::___gxx_personality_v0");
|
debug!("emscripten::___gxx_personality_v0");
|
||||||
0
|
0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pub fn _gai_strerror(_ctx: &mut Ctx, _ecode: i32) -> i32 {
|
||||||
|
debug!("emscripten::_gai_strerror({})", _ecode);
|
||||||
|
0
|
||||||
|
}
|
||||||
|
|
||||||
#[cfg(target_os = "linux")]
|
#[cfg(target_os = "linux")]
|
||||||
pub fn _getdtablesize(_ctx: &mut Ctx) -> i32 {
|
pub fn _getdtablesize(_ctx: &mut Ctx) -> i32 {
|
||||||
debug!("emscripten::getdtablesize");
|
debug!("emscripten::getdtablesize");
|
||||||
|
@ -776,6 +776,7 @@ pub fn generate_emscripten_env(globals: &mut EmscriptenGlobals) -> ImportObject
|
|||||||
"_pthread_rwlock_init" => func!(crate::emscripten_target::_pthread_rwlock_init),
|
"_pthread_rwlock_init" => func!(crate::emscripten_target::_pthread_rwlock_init),
|
||||||
"_pthread_rwlock_wrlock" => func!(crate::emscripten_target::_pthread_rwlock_wrlock),
|
"_pthread_rwlock_wrlock" => func!(crate::emscripten_target::_pthread_rwlock_wrlock),
|
||||||
"___gxx_personality_v0" => func!(crate::emscripten_target::___gxx_personality_v0),
|
"___gxx_personality_v0" => func!(crate::emscripten_target::___gxx_personality_v0),
|
||||||
|
"_gai_strerror" => func!(crate::emscripten_target::_gai_strerror),
|
||||||
"_getdtablesize" => func!(crate::emscripten_target::_getdtablesize),
|
"_getdtablesize" => func!(crate::emscripten_target::_getdtablesize),
|
||||||
"_gethostbyaddr" => func!(crate::emscripten_target::_gethostbyaddr),
|
"_gethostbyaddr" => func!(crate::emscripten_target::_gethostbyaddr),
|
||||||
"_gethostbyname_r" => func!(crate::emscripten_target::_gethostbyname_r),
|
"_gethostbyname_r" => func!(crate::emscripten_target::_gethostbyname_r),
|
||||||
|
Loading…
Reference in New Issue
Block a user