Skip to content

Conversation

@taiki-e
Copy link
Member

@taiki-e taiki-e commented Sep 25, 2022

Replace once_cell with our own OnceLock that based on unstable std::sync::OnceLock due to MSRV issue1.

This also fixes #856 due to windows-gnu LTO issue.

Footnotes

  1. The current readme says crossbeam support at least 6 months old compilers, but that is a minimum guarantee and is actually more conservative.

@taiki-e
Copy link
Member Author

taiki-e commented Sep 28, 2022

bors r+

@bors
Copy link
Contributor

bors bot commented Sep 28, 2022

@bors bors bot merged commit 1152536 into master Sep 28, 2022
@bors bors bot deleted the once-cell branch September 28, 2022 11:34
bors bot added a commit that referenced this pull request Sep 29, 2022
914: 0.8: Prepare for the next release r=taiki-e a=taiki-e

Backports #913 and CI-related patches.

Changes:
- crossbeam-epoch 0.8.11 -> 0.8.12
  - Removes the dependency on the `once_cell` crate to restore the MSRV. (#913)
  - Work around [rust-lang#98302](rust-lang/rust#98302), which causes compile error on windows-gnu when LTO is enabled. (#913)
- crossbeam-utils 0.8.11 -> 0.8.12
  - Removes the dependency on the `once_cell` crate to restore the MSRV. (#913)
  - Work around [rust-lang#98302](rust-lang/rust#98302), which causes compile error on windows-gnu when LTO is enabled. (#913)

Co-authored-by: Taiki Endo <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

mingw-w64: cannot compile dependents due to error with crossbeam-epoch

2 participants