authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-10-20 01:56:57+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-10-20 10:03:09+02:00
logaf967572446945a0754e7b0756caa2f28bd42070
treef0975bc6571e703fc05fb63115d96c74a4e2ddfc
parente4c7fc58a54d8ca25db92846f09c089bc58e1f04
signature Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

compiler_rt.atomics: lanai does not support atomic instructions


1 files changed, 1 insertions(+), 1 deletions(-)

lib/compiler_rt/atomics.zig+1-1
......@@ -13,7 +13,7 @@ const symbol = compiler_rt.symbol;
1313// detail to keep the export logic clean and because we need some kind of CAS to
1414// implement the spinlocks.
1515const supports_atomic_ops = switch (arch) {
16 .msp430, .avr, .bpfel, .bpfeb => false,
16 .msp430, .avr, .bpfel, .bpfeb, .lanai => false,
1717 .arm, .armeb, .thumb, .thumbeb =>
1818 // The ARM v6m ISA has no ldrex/strex and so it's impossible to do CAS
1919 // operations (unless we're targeting Linux, the kernel provides a way to