embassy-rs / atomic-polyfill

⚠️ DEPRECATED ⚠️ -- use `portable-atomic` instead.
Apache License 2.0
30 stars 14 forks source link

add force-polyfill feature #25

Open romancardenas opened 1 year ago

romancardenas commented 1 year ago

I'm facing weird situations with a riscv32imac target, so I ended up needing this feature. Basically, by activating the force-polyfill feature, the build.rs script skips all the target checking and just uses all the atomic emulations provided by atomic-polyfill.

Hope you find it helpful!