Skip to content

Fix atomic ordering in LazyArc#632

Merged
philipc merged 2 commits intogimli-rs:masterfrom
philipc:lazyarc
Nov 22, 2022
Merged

Fix atomic ordering in LazyArc#632
philipc merged 2 commits intogimli-rs:masterfrom
philipc:lazyarc

Conversation

@philipc
Copy link
Collaborator

@philipc philipc commented Nov 20, 2022

Fixes build error:
error: compare_exchange's failure ordering may not be stronger than the success ordering of Release

@bjorn3
Copy link
Contributor

bjorn3 commented Nov 20, 2022

This has been allowed since rust-lang/rust#98383 which landed in rustc 1.64. Maybe add a comment to that effect?

Fixes build error:
error: compare_exchange's failure ordering may not be stronger than the success ordering of `Release`
@philipc philipc merged commit ec0ed83 into gimli-rs:master Nov 22, 2022
@philipc philipc deleted the lazyarc branch November 22, 2022 03:28
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.

2 participants