Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support omitting lower bound of --version-range #139

Merged
merged 1 commit into from
Dec 29, 2021
Merged

Support omitting lower bound of --version-range #139

merged 1 commit into from
Dec 29, 2021

Conversation

taiki-e
Copy link
Owner

@taiki-e taiki-e commented Dec 29, 2021

Closes #137

$ cargo hack check --version-range ..
info: running `cargo +1.46 check` on cargo-hack (1/12)
warning: /Users/taiki/projects/cargo-hack/Cargo.toml: unused manifest key: package.rust-version
    Checking cargo-hack v0.5.8 (/Users/taiki/projects/cargo-hack)
    Finished dev [unoptimized + debuginfo] target(s) in 1.34s
info: running `cargo +1.47 check` on cargo-hack (2/12)
warning: /Users/taiki/projects/cargo-hack/Cargo.toml: unused manifest key: package.rust-version
    Checking cargo-hack v0.5.8 (/Users/taiki/projects/cargo-hack)
    Finished dev [unoptimized + debuginfo] target(s) in 1.49s

...

info: running `cargo +1.56 check` on cargo-hack (11/12)
    Checking cargo-hack v0.5.8 (/Users/taiki/projects/cargo-hack)
    Finished dev [unoptimized + debuginfo] target(s) in 1.65s
info: running `cargo +1.57 check` on cargo-hack (12/12)
    Checking cargo-hack v0.5.8 (/Users/taiki/projects/cargo-hack)
    Finished dev [unoptimized + debuginfo] target(s) in 1.62s
$ cargo hack check --version-range ..1.48`
info: running `cargo +1.46 check` on cargo-hack (1/3)
warning: /Users/taiki/projects/cargo-hack/Cargo.toml: unused manifest key: package.rust-version
    Finished dev [unoptimized + debuginfo] target(s) in 0.30s
info: running `cargo +1.47 check` on cargo-hack (2/3)
warning: /Users/taiki/projects/cargo-hack/Cargo.toml: unused manifest key: package.rust-version
    Finished dev [unoptimized + debuginfo] target(s) in 0.24s
info: running `cargo +1.48 check` on cargo-hack (3/3)
warning: /Users/taiki/projects/cargo-hack/Cargo.toml: unused manifest key: package.rust-version
    Finished dev [unoptimized + debuginfo] target(s) in 0.25s

@taiki-e taiki-e added the A-version Area: --rust-version, --version-range, --version-step label Dec 29, 2021
@taiki-e
Copy link
Owner Author

taiki-e commented Dec 29, 2021

bors r+

@bors
Copy link
Contributor

bors bot commented Dec 29, 2021

Build succeeded:

@bors bors bot merged commit cbf2bdc into main Dec 29, 2021
@bors bors bot deleted the rust-version branch December 29, 2021 03:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-version Area: --rust-version, --version-range, --version-step
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Get lower bound of --version-range from rust-version field in Cargo.toml
1 participant