mirror of
https://github.com/fluencelabs/wasmer
synced 2025-06-15 01:41:21 +00:00
Fix all the imports to run nginx
This commit is contained in:
@ -99,6 +99,16 @@ pub extern "C" fn _difftime(t0: u32, t1: u32) -> c_int {
|
||||
(t0 - t1) as _
|
||||
}
|
||||
|
||||
pub extern "C" fn _gmtime_r(one: i32, two: i32, ctx: &mut Ctx) -> i32 {
|
||||
debug!("emscripten::_gmtime_r");
|
||||
-1
|
||||
}
|
||||
|
||||
pub extern "C" fn _mktime(one: i32, ctx: &mut Ctx) -> i32 {
|
||||
debug!("emscripten::_mktime");
|
||||
-1
|
||||
}
|
||||
|
||||
#[repr(C)]
|
||||
struct guest_tm {
|
||||
pub tm_sec: c_int, // 0
|
||||
|
Reference in New Issue
Block a user