Skip to main content

Crate xtask

Crate xtask 

Source
Expand description

OpenVMM repo-specific automation.

This host-side CLI implements standalone development utilities such as repository formatting, fuzz-target management, guest-test image creation, cleanup, binary-size verification, and git-hook installation. Invoke it through the repository’s cargo xtask <command> alias.

xtask owns tools that perform project-specific work. Multi-step build and test orchestration instead belongs in cargo xflowey.

Follows the xtask workflow/convention, as described at https://github.com/matklad/cargo-xtask

Modules§

completions 🔒
fs_helpers
Helper functions to traverse + enumerate the project’s filesystem, used by multiple task implementations.
shell
Wrapper around [xshell::Shell] that centralizes the clippy::disallowed_methods allow to a single place, since xtask is not a flowey node and legitimately needs to spawn subprocesses.
tasks
Implementations of various Xtasks

Structs§

Cli 🔒
XtaskCtx
Common context passed into every Xtask

Enums§

Commands 🔒

Constants§

XTASK_PATH_FILE
Default location to maintain a xtask-path file

Traits§

Xtask
Common trait implemented by all Xtask subcommands.

Functions§

main 🔒
try_main 🔒