`spin` crate provides `no_std` spinlocks. It has 6000 downloads/day on crates.io and is a transitive dependency of `lazy_static!` in `no_std` mode.