Skip to content
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.

Debug impl for AtomicPtr and AtomicBool #11

Closed
ogoffart opened this issue Dec 1, 2021 · 1 comment
Closed

Debug impl for AtomicPtr and AtomicBool #11

ogoffart opened this issue Dec 1, 2021 · 1 comment

Comments

@ogoffart
Copy link

ogoffart commented Dec 1, 2021

AtomicPtr and AtomicBool don't implement Debug, contrary to their std equivalent.

bors bot added a commit to matklad/once_cell that referenced this issue Dec 14, 2021
165: Add an atomic-polyfill optional dependancy r=matklad a=ogoffart

To make it compile on platform that have limited atomics

Fixes #155 

Note that this re-implement the Debug version of the OnceBox
because atomic-polyfill::AtomicPtr don't implement Debug (embassy-rs/atomic-polyfill#11)

Co-authored-by: Olivier Goffart <ogoffart@sixtyfps.io>
@Dirbaio
Copy link
Member

Dirbaio commented Feb 8, 2022

Fixed in 0.1.6

@Dirbaio Dirbaio closed this as completed Feb 8, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants