Closed
Description
Hi there! We were just testing bincode
2.0.0.-rc.1 on a RV32-IMAC platform, and encountered an issue where by default 64-bit atomics are included in the Atomic
feature set.
Unfortunately, 32-bit platforms structurally lack a single-instruction 64-bit atomic. It would be nice to have a feature that could specify if the platform is 32 bit or 64 bit, and in the case of a 32-bit platform the 64-bit Atomics are not used.
On the other hand, 32-bit platforms are a rather niche edge case these days, and I didn't check to see how hard it would be to support this feature. If it's hard, no worries, we can work around it.
Thank you for your consideration!