Skip to content

Options for running commands on a specified range of versions of cargo #93

@taiki-e

Description

@taiki-e

This may be useful for catching issues like BurntSushi/termcolor#35, rust-lang/regex#685, rayon-rs/rayon#761 (comment), rust-lang/rust-clippy#6324.

Examples

something like:

$ cargo hack check --version-range 1.36..stable
info: running `cargo +1.36.0 check`
...
info: running `cargo +1.37.0 check`
...
...
info: running `cargo +1.47.0 check`
...
info: running `cargo +1.48.0 check` (current stable)
...

with specified step:

$ cargo hack check --version-range 1.36..stable --version-step 2
info: running `cargo +1.36.0 check`
...
info: running `cargo +1.38.0 check`
...
...
info: running `cargo +1.46.0 check`
...
info: running `cargo +1.48.0 check` (current stable)
...

Metadata

Metadata

Assignees

Labels

A-versionArea: --rust-version, --version-range, --version-stepC-enhancementCategory: A new feature or an improvement for an existing one

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions