-
Notifications
You must be signed in to change notification settings - Fork 515
Require 1.26.0 in deque and utils #365
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
Conversation
|
Ah, the latest published versions (crossbeam-deque-0.7.1 and crossbeam-utils-0.6.5) work fine with 1.26, but crossbeam-utils on master is using crossbeam-deque 0.7.0 and 0.7.1 already documented that it required 1.28 though. Will you be bumping semver on the others for the updated requirement? |
|
@cuviper Thanks for tracking this down, I forgot about What do you think about introducing |
|
If you're willing to carry such conditions in the code, I'd rather see that auto-detected, so rayon doesn't have to be an inhibitor. It could either use a version check or probing like If you're open to this, I can take it on myself to make a PR. |
|
@cuviper Yeah, that'd be a cleaner solution because then we wouldn't have to add new features to I'd be happy to accept a PR for this :) Thanks! |
|
@cuviper How about this? https://github.com/dtolnay/select-rustc |
|
Yeah, select-rustc looks really cool -- but it's a 2018 edition crate, so it needs at least 1.31 itself. |
|
I'm proposing to revert #360, and support Rust 1.26. #360 is a good improvement, but I think its benefit doesn't outweigh its drawback, which is breaking the compatibility with Rayon. Further, I'm proposing to stick with the Rust version supported by Rayon in the future as much as possible, and document the policy in e.g. |
|
@jeehoonkang Yeah, maybe we should revert that. In fact, only |
crossbeam-dequeandcrossbeam-utilsdon't really need 1.28.0, we can support 1.26.0