microsoft/openvmm

Public

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

CodeCommitsIssuesPull requestsActionsInsightsSecurity
42bbd17e64b8b8728d76d2a3b56c3f2d0edbe12b

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 · modecode

1# cargo xtask
2
3`cargo xtask` is OpenVMM's "swiss army knife" Rust binary that houses various
4bits of project specific tooling.
5
6For more info on how `xtask` is different from `xflowey`, see [`xflowey` vs
7`xtask`](./xflowey.md#xflowey-vs-xtask).
8
9Some examples of tools that you can find under `xtask`:
10
11- `cargo xtask fmt` implements various OpenVMM-specific style / linting rules
12- `cargo xtask fuzz` implements various OpenVMM-specific `cargo fuzz` extensions
13- `cargo xtask install-git-hooks` sets up git hooks for developers
14
15This list is not exhaustive. Running `cargo xtask` will list what tools are
16available, along with brief descriptions of what they do / how to use them.
17
18For more information of the `xtask` pattern, see <https://github.com/matklad/cargo-xtask>
19