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 02:36:38+02:00
logcfec358de1bac861a962731444168a2863e970c9
tree581df2ddd74518d014f56122905ceb9dfa934f36
parentfc7659fa55f232de90ef61ce8bd9a91cc1a9da14
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