mirror of
https://github.com/logos-messaging/logos-delivery.git
synced 2026-06-04 13:09:32 +00:00
GitHub-hosted runners pick up host-specific CPU features via '-march=native', which combined with '-Og -O3' (emitted when --debugger:native and --opt:speed are both active) exhausts the register constraints in secp256k1's scalar_4x64_impl.h inline assembly and breaks the build with "asm operand has impossible constraints". Using the existing 'disableMarchNative' escape hatch in config.nims falls back to '-mssse3' (or '-march=x86-64-v2' with '-d:marchOptimized'), which keeps register allocation predictable across the heterogeneous runner pool. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>