pub struct RemuConfig {
pub argv: Vec<String>,
pub envp: Vec<String>,
pub sysroot: Option<PathBuf>,
pub workdir: Option<PathBuf>,
pub jit_opt_level: u8,
pub jit_cache_dir: Option<PathBuf>,
pub raw_jit: bool,
}Expand description
Keeps process and compiler inputs together so snapshots and cache behavior are reproducible.
Fields§
§argv: Vec<String>Supplies guest argument strings for the initial process stack.
envp: Vec<String>Supplies guest environment strings for the initial process stack.
sysroot: Option<PathBuf>Selects the read-only host root for absolute guest paths.
workdir: Option<PathBuf>Selects the writable host root for relative guest paths.
jit_opt_level: u8Selects Rust compiler optimization level 0, 1, or 2 for generated code.
jit_cache_dir: Option<PathBuf>Selects an optional directory for reusable generated artifacts.
raw_jit: boolRequests the Linux x86-64 raw loader instead of a shared library.
Trait Implementations§
Source§impl Clone for RemuConfig
impl Clone for RemuConfig
Source§fn clone(&self) -> RemuConfig
fn clone(&self) -> RemuConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RemuConfig
impl Debug for RemuConfig
Auto Trait Implementations§
impl Freeze for RemuConfig
impl RefUnwindSafe for RemuConfig
impl Send for RemuConfig
impl Sync for RemuConfig
impl Unpin for RemuConfig
impl UnsafeUnpin for RemuConfig
impl UnwindSafe for RemuConfig
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