mirror of
https://github.com/luxfi/crypto.git
synced 2026-07-27 01:54:50 +00:00
Follow-up to39c1da3. The diagnostic from that commit confirmed the lux-build runner has NO C compiler on PATH at all (not cc, clang, or gcc) — PATH was just the stock /usr/bin:/bin etc. with the Go toolchain. So compiler *selection* alone cannot fix it; a compiler must be installed. Add an 'Ensure C toolchain (cgo)' step that installs build-essential via sudo apt-get when no compiler is present (the same mechanism sibling lux repos already use to provision lux-build, e.g. node + universe install apt packages there). The step is a no-op when a compiler already exists. The subsequent CC-selection logic from39c1da3is retained. Still not a crypto/KAT regression: the HQC NIST KAT roundtrip passes locally; this is purely the runner lacking a C toolchain for cgo. Co-authored-by: Hanzo Dev <dev@hanzo.ai>