microsoft/openvmm

Public

mirrored fromhttps://github.com/microsoft/openvmmAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
103c0519b1d721f9b666c6e28a329b0fabff3e37

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

Guide/src/dev_guide/dev_tools/xtask.md

18lines · modepreview

# cargo xtask

`cargo xtask` is OpenVMM's "swiss army knife" Rust binary that houses various
bits of project specific tooling.

For more info on how `xtask` is different from `xflowey`, see [`xflowey` vs
`xtask`](./xflowey.md#xflowey-vs-xtask).

Some examples of tools that you can find under `xtask`:

- `cargo xtask fmt` implements various OpenVMM-specific style / linting rules
- `cargo xtask fuzz` implements various OpenVMM-specific `cargo fuzz` extensions
- `cargo xtask install-git-hooks` sets up git hooks for developers

This list is not exhaustive. Running `cargo xtask` will list what tools are
available, along with brief descriptions of what they do / how to use them.

For more information of the `xtask` pattern, see <https://github.com/matklad/cargo-xtask>