mirror of
https://github.com/ziglang/zig.git
synced 2026-01-03 12:03:19 +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.