matklad / once_cell

Rust library for single assignment cells and lazy statics without macros

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The `atomic-polyfill` crate is deprecated.

taks opened this issue · comments

commented

The atomic-polyfill crates is deprecated and it is recommended that the portable-atomic crate be used instead.
(https://github.com/embassy-rs/atomic-polyfill)
Is it possible to change to use the portable-atomic crate?

※ Currently, on the xtensa-esp32-espidf target, the atomic-polyfill causes a compile error. (taks/esp32-nimble#46)
I have confirmed that compilation was successful for the atomic-polyfill crate.

Yup, PR is welcome! (I don’t work in the embedded space, so I am not the best person to do the work here, but I can review)