embedded-tls icon indicating copy to clipboard operation
embedded-tls copied to clipboard

The atomic-polyfill crate is deprecated.

Open kefran06 opened this issue 10 months ago • 2 comments

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.

error[E0432]: unresolved import core::sync::atomic::AtomicU64

kefran06 avatar Apr 11 '24 18:04 kefran06

Yeah, that sounds good. Would you like to open a PR for it?

lulf avatar Apr 12 '24 06:04 lulf

i'm pretty new to rust, I tried something maybe you can help me to tell me if I missed something

https://github.com/drogue-iot/embedded-tls/pull/141/commits

kefran06 avatar Apr 12 '24 15:04 kefran06