Content-Length: 294413 | pFad | https://github.com/matklad/once_cell/pull/219

37 Use AtomicPtr for race::OnceRef to avoid ptr-int-ptr by Imberflur · Pull Request #219 · matklad/once_cell · GitHub
Skip to content

Use AtomicPtr for race::OnceRef to avoid ptr-int-ptr#219

Merged
bors[bot] merged 1 commit intomatklad:masterfrom
Imberflur:master
Feb 14, 2023
Merged

Use AtomicPtr for race::OnceRef to avoid ptr-int-ptr#219
bors[bot] merged 1 commit intomatklad:masterfrom
Imberflur:master

Conversation

@Imberflur
Copy link
Contributor

Same rationale as #185

Potentially, a OncePtr abstraction could be factored out and used in both OnceBox and OnceRef.

@matklad
Copy link
Owner

matklad commented Feb 14, 2023

Yeah, this makes sense!

bors r+

@bors
Copy link
Contributor

bors bot commented Feb 14, 2023

Build succeeded:

@bors bors bot merged commit 78ab172 into matklad:master Feb 14, 2023
bors bot added a commit that referenced this pull request Feb 14, 2023
222: Bump version to 1.17.1 and update the changelog. r=matklad a=Imberflur

Adds changelog entry for #219

Extracted from #221 since that needs [a higher MSRV ](rust-lang/rust#98383).

Co-authored-by: Imbris <imbrisf@gmail.com>
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









ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/matklad/once_cell/pull/219

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy