pub struct AotCode {
pub code: Mmap,
pub labels: HashMap<u64, u32>,
}Fields§
§code: Mmap§labels: HashMap<u64, u32>Labels that map RISC-V addresses to offsets into the compiled x86_64 assembly code. This can be used as entrypoints to start executing in AOT code.
Implementations§
Auto Trait Implementations§
impl Freeze for AotCode
impl RefUnwindSafe for AotCode
impl Send for AotCode
impl Sync for AotCode
impl Unpin for AotCode
impl UnwindSafe for AotCode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more