-
Notifications
You must be signed in to change notification settings - Fork 566
Update crossbeam-deque to 0.7 #675
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
The only substantive change is to 'take_local_job'. 'Worker::pop` now returns a plain 'Option<T>', so there's no need to loop anymore
|
See also #664 (comment) And note that rayon-core has a note on this regarding compatibility. |
|
@Aaron1011 We've applied your patch in debian, thanks for your work! |
|
@cuviper: If I understand correctly, this PR should now be allowed under the minimum supported Rust version policy. Rust 1.28 (the MSRV of crossbeam-deque) came out just over one year ago. |
cuviper
left a comment
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.
Looks good, just a little cleanup on the deque imports. Could you also bump the minor versions and the documentation of the minimum Rust?
|
Curiously, the CI build did actually pass on 1.26 -- but since that support is not documented by |
|
Since they were minor, I went ahead with those changes myself. bors r+ |
675: Update crossbeam-deque to 0.7 r=cuviper a=Aaron1011 The only substantive change is to 'take_local_job'. 'Worker::pop` now returns a plain 'Option<T>', so there's no need to loop anymore Co-authored-by: Aaron Hill <[email protected]> Co-authored-by: Josh Stone <[email protected]>
The only substantive change is to 'take_local_job'.
'Worker::pop` now returns a plain 'Option', so there's
no need to loop anymore