Skip to content

Add support for C11 stdatomic atomics

This fixes deprecation warnings when building for macOS >= 10.12 systems. Additionally, using stdatomic.h (or the more modern _atomic builtins is required when targetting CHERI-enabled architectures such as CHERI-RISC-V or Arm's Morello since the compiler rejects _sync* atomic for pointer types (they only work with integers).

Merge request reports