mirror of
https://github.com/fluencelabs/wasmer
synced 2024-12-13 06:15:33 +00:00
Revert edition
This commit is contained in:
parent
d5f4541ac9
commit
fa1d602e26
@ -156,11 +156,11 @@ pub extern "C" fn _localtime(time_p: u32, instance: &mut Instance) -> c_int {
|
|||||||
);
|
);
|
||||||
|
|
||||||
let tm_struct_ptr = instance.memory_offset_addr(0, tm_struct_offset as _) as *mut guest_tm;
|
let tm_struct_ptr = instance.memory_offset_addr(0, tm_struct_offset as _) as *mut guest_tm;
|
||||||
debug!(
|
// debug!(
|
||||||
">>>>>>> time = {}, {}, {}, {}, {}, {}, {}, {}",
|
// ">>>>>>> time = {}, {}, {}, {}, {}, {}, {}, {}",
|
||||||
result_tm.tm_sec, result_tm.tm_min, result_tm.tm_hour, result_tm.tm_mday,
|
// result_tm.tm_sec, result_tm.tm_min, result_tm.tm_hour, result_tm.tm_mday,
|
||||||
result_tm.tm_mon, result_tm.tm_year, result_tm.tm_wday, result_tm.tm_yday,
|
// result_tm.tm_mon, result_tm.tm_year, result_tm.tm_wday, result_tm.tm_yday,
|
||||||
);
|
// );
|
||||||
|
|
||||||
(*tm_struct_ptr).tm_sec = result_tm.tm_sec;
|
(*tm_struct_ptr).tm_sec = result_tm.tm_sec;
|
||||||
(*tm_struct_ptr).tm_min = result_tm.tm_min;
|
(*tm_struct_ptr).tm_min = result_tm.tm_min;
|
||||||
|
Loading…
Reference in New Issue
Block a user