Skip to content

Conversation

@Aaron1011
Copy link
Contributor

The only substantive change is to 'take_local_job'.
'Worker::pop` now returns a plain 'Option', so there's
no need to loop anymore

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
@cuviper
Copy link
Member

cuviper commented Jul 7, 2019

See also #664 (comment)

And note that rayon-core has a note on this regarding compatibility.

@kpcyrd
Copy link

kpcyrd commented Jul 16, 2019

@Aaron1011 We've applied your patch in debian, thanks for your work!

@Aaron1011
Copy link
Contributor Author

@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.

Copy link
Member

@cuviper cuviper left a 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?

@cuviper
Copy link
Member

cuviper commented Aug 5, 2019

Curiously, the CI build did actually pass on 1.26 -- but since that support is not documented by crossbeam-deque, we should probably go ahead and bump our requirement anyway.

@cuviper
Copy link
Member

cuviper commented Aug 8, 2019

Since they were minor, I went ahead with those changes myself.

bors r+

bors bot added a commit that referenced this pull request Aug 8, 2019
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]>
@bors
Copy link
Contributor

bors bot commented Aug 8, 2019

@bors bors bot merged commit 99706a4 into rayon-rs:master Aug 8, 2019
@Aaron1011 Aaron1011 deleted the update/crossbeam-deque branch August 11, 2019 20:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants