#![deny(unsafe_op_in_unsafe_fn)]
#![allow(clippy::assertions_on_constants)]
use vasi::VirtualAddressSpaceIndependent;
pub mod emulated_time;
pub mod explicit_drop;
pub mod ipc;
pub mod notnull;
pub mod option;
pub mod rootedcell;
pub mod shim_event;
pub mod shim_shmem;
pub mod simulation_time;
pub mod syscall_types;
pub mod util;
#[repr(transparent)]
#[derive(
Debug, PartialEq, Eq, PartialOrd, Ord, Hash, Copy, Clone, VirtualAddressSpaceIndependent,
)]
pub struct HostId(u32);
impl From<u32> for HostId {
fn from(i: u32) -> Self {
HostId(i)
}
}
impl From<HostId> for u32 {
fn from(i: HostId) -> Self {
i.0
}
}
extern crate logger;
extern crate shadow_shmem;