mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 12:19:24 +00:00
lazy_static, if no_std environments were used, effectively required always using spin locks. This resolves the ergonomics of that while adopting Rust std code. no_std does still use a spin based solution. Theoretically, we could use atomics, yet writing our own Mutex wasn't a priority.
839 B
839 B