Skip to content

Add support for portable-atomic for targets with no CAS#37

Merged
bholley merged 2 commits intomozilla:masterfrom
peku33:portable-atomic
Apr 20, 2026
Merged

Add support for portable-atomic for targets with no CAS#37
bholley merged 2 commits intomozilla:masterfrom
peku33:portable-atomic

Conversation

@peku33
Copy link
Copy Markdown
Contributor

@peku33 peku33 commented Apr 13, 2026

2 of 2 pull request for adding portable-atomic support to atomic_refcell. I will rebase it if the lint PR gets merged.

This is the actual implementation, with roughly 10 lines of actual changes.

This adds optional portable-atomic support, so atomic refcell can work on targets without CAS.

I've verified it didn't build in my project before the change and now it does.

@peku33 peku33 changed the title Portable atomic Add support for portable-atomic for targets with no CAS Apr 13, 2026
@bholley
Copy link
Copy Markdown
Collaborator

bholley commented Apr 20, 2026

Thanks! I merged the lint PR, can you rebase this one?

Edit: Nevermind, Looks like GH can do this now.

@bholley bholley merged commit d480105 into mozilla:master Apr 20, 2026
@bholley
Copy link
Copy Markdown
Collaborator

bholley commented Apr 20, 2026

Published this as 0.1.14

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