This cargo subcomand aims to simplify the development process. It gives an easy way to perform locally the commands that are performed by the CI tool.
cargo install cargo-tokio
# runs **all** CISteps
cargo tokio
# runs loom tests
cargo tokio loom
# runs the test-unstable suite
cargo tokio test-unstable
ci.rs
:
TokioCIStage
are commands typically defined through theTokioCIStageBuilder
. These are mostlycargo test
,cargo hack
, etc. Usually multipleTokioCIStage
make aTokioCIStep
.TokioCIStep
corresponds to a step in the CI.miri
,loom
,san
,clippy
would be different CI steps.
cli.rs
:
- Command line options to run the tool.
main.rs
:
- Glues everything so that it can run as an executable.
Ideally this command should mirror any updates on the .github/
directory on the
tokio crate. So if there's anything missing, feel free
to submit a PR.
This project is licensed under the MIT license.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in Tokio by you, shall be licensed as MIT, without any additional terms or conditions.