mirror of
https://github.com/logos-blockchain/logos-blockchain-rust-rapidsnark.git
synced 2026-06-07 19:59:33 +00:00
The default cmake config selects the x86_64 nasm field-arithmetic asm, which produced x86_64 objects inside the arm64 archive (mixed-arch, unlinkable). Pass TARGET_PLATFORM=aarch64 so the AArch64 .s sources are used, and add an architecture guard that fails the build on a mismatch. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>