mirror of
https://github.com/ziglang/zig.git
synced 2026-02-21 16:54:52 +00:00
Some SPARC CPUs (particularly old and/or embedded ones) only has atomic TAS instruction available (`ldstub`). This adds support for emitting that instruction in the spinlock.