redesign of the interface to the unikernel HermitCore
- the old interface between HermitCore and the Rust Standard Library based on a small C library (newlib) - remove this interface and call directly the unikernel - remove the dependency to the HermitCore linker - use rust-lld as linker
This commit is contained in:
parent
7870050796
commit
c1e440a90f
51 changed files with 2388 additions and 451 deletions
|
@ -371,9 +371,9 @@ mod inner {
|
|||
}
|
||||
}
|
||||
|
||||
#[cfg(not(any(target_os = "dragonfly", target_os = "hermit")))]
|
||||
#[cfg(not(target_os = "dragonfly"))]
|
||||
pub type clock_t = libc::c_int;
|
||||
#[cfg(any(target_os = "dragonfly", target_os = "hermit"))]
|
||||
#[cfg(target_os = "dragonfly")]
|
||||
pub type clock_t = libc::c_ulong;
|
||||
|
||||
fn now(clock: clock_t) -> Timespec {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue