pub struct Options {
pub root: PathBuf,
pub tools: Tools,
pub force: bool,
pub engine: Option<PathBuf>,
pub archives: Option<PathBuf>,
pub keep_work: Option<PathBuf>,
}Expand description
Options shared by every mode.
Fields§
§root: PathBufThe cache root (cache::default_root).
tools: ToolsThe host tools: GCC (whose crtbegin.o/crtend.o the provider uses), and
in source mode the binutils that build and verify the objects.
force: boolPrepare again even if the cache has this provider.
engine: Option<PathBuf>container: podman or docker; found on PATH when None.
archives: Option<PathBuf>container: a directory of previously fetched glibc-X.Y.tar.xz
archives, used before downloading (also ABI_GLIBC_SOURCE_DIR).
keep_work: Option<PathBuf>container: move the build’s work tree (sources, the installed glibc,
logs) here instead of deleting it. The directory must not exist.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Options
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnsafeUnpin for Options
impl UnwindSafe for Options
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