once_cell icon indicating copy to clipboard operation
once_cell copied to clipboard

add support for platforms without atomic ptr

Open LinuxHeki opened this issue 2 years ago • 3 comments

Add support for platforms without support for atomic operations on pointers (such as thumbv6m-none-eabi).

LinuxHeki avatar Sep 20 '23 13:09 LinuxHeki

True... Does that mean this crate can't be ported platforms without atomic ptr?

LinuxHeki avatar Sep 21 '23 14:09 LinuxHeki

platforms without atomic ptr

"critical-section" feature is a feature to use sync/race in such targets. https://github.com/matklad/once_cell/blob/c48d3c2c01de926228aea2ac1d03672b4ce160c1/Cargo.toml#L48-L51

taiki-e avatar Dec 16 '23 11:12 taiki-e

Should this be closed now?

briansmith avatar Jun 18 '24 23:06 briansmith