mirror of
https://github.com/fluencelabs/wasmer
synced 2025-06-12 08:31:21 +00:00
optimize imports (#170)
This commit is contained in:
@ -1,11 +1,14 @@
|
||||
use super::utils::{copy_cstr_into_wasm, write_to_buf};
|
||||
use libc::{c_char, c_int, time_t};
|
||||
use libc::{c_char, c_int};
|
||||
use std::mem;
|
||||
use std::time::SystemTime;
|
||||
|
||||
#[cfg(not(target_os = "windows"))]
|
||||
use libc::{clockid_t, time as libc_time};
|
||||
|
||||
#[cfg(target_os = "windows")]
|
||||
use libc::time_t;
|
||||
|
||||
#[cfg(target_os = "windows")]
|
||||
type clockid_t = c_int;
|
||||
|
||||
|
Reference in New Issue
Block a user