pub struct Xtask {
pub offline: bool,
pub subcommand: XtaskCmd,
}
Fields§
§offline: bool
§subcommand: XtaskCmd
Implementations§
Source§impl Xtask
impl Xtask
pub(crate) const HELP_: &'static str = "xtask\n\nOPTIONS:\n --offline\n\n -h, --help\n Prints help information.\n\nSUBCOMMANDS:\n\nxtask test\n Run regression tests\n\n ARGS:\n [filter]\n Only run tests containing `filter` as substring.\n\n\nxtask run\n Run the Flux binary on the given input file setting the appropriate flags to use\n custom Flux attributes and macros.\n\n ARGS:\n <input>\n Input file\n\n <opts>...\n Extra options to pass to the Flux binary, e.g. `cargo xtask run file.rs -- -Zdump-mir=y`\n\n\nxtask expand\n Expand Flux macros\n\n ARGS:\n <input>\n Input file\n\n\nxtask install\n Install Flux binaries to `~/.cargo/bin` and precompiled libraries and driver to `~/.flux`\n\n OPTIONS:\n --profile <profile>\n Select build profile for the `flux-driver`, either \'release\', \'dev\', or \'profiling\'. Default \'release\'\n\n\nxtask uninstall\n Uninstall Flux binaries and libraries\n\n\nxtask build-sysroot\n Generate precompiled libraries\n\n\nxtask doc\n Build the documentation\n\n OPTIONS:\n -o, --open\n"
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Xtask
impl RefUnwindSafe for Xtask
impl Send for Xtask
impl Sync for Xtask
impl Unpin for Xtask
impl UnwindSafe for Xtask
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