-
Notifications
You must be signed in to change notification settings - Fork 629
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
Build crates with minimal versions in CI #1190
Build crates with minimal versions in CI #1190
Conversation
- cargo build --manifest-path futures-executor/Cargo.toml --all-features | ||
- cargo build --manifest-path futures-io/Cargo.toml --all-features | ||
- cargo build --manifest-path futures-sink/Cargo.toml --all-features | ||
- cargo build --manifest-path futures-util/Cargo.toml --all-features |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we use cargo build --all-features
or cargo build -p futures-... --all-features
instead?
cargo build --no-default-features
seems not to exist at least
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cargo build --all-features
might also not work. It exists but I'm not sure whether it does what we want
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nope, features and workspaces are pretty much broken at the moment. There was an attempt at fixing them a while ago, but I’m not sure if that’s still available even as an unstable flag. I’ll try and find the link to the issue in a sec.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tested -p
instead of --manifest-path
and it doesn't work
cab3b41
to
1949748
Compare
6ee239e
to
a105d7c
Compare
Nice! |
Follow-up PR to #1189
The CI should break if we're relying on features not available in the minimal versions we specify.
cc @cramertj