Compiling for musl seems to cause a C macro compiler error:
warning: pqcrypto-mlkem@0.1.1: In file included from pqclean/crypto_kem/ml-kem-512/clean/verify.c:1:
warning: pqcrypto-mlkem@0.1.1: pqclean/common/compat.h:20:21: error: missing binary operator before token "("
warning: pqcrypto-mlkem@0.1.1: 20 | # if !__GNUC_PREREQ(7, 1) // at least GCC 7.1
warning: pqcrypto-mlkem@0.1.1: | ^
warning: pqcrypto-mlkem@0.1.1: ToolExecError: command did not execute successfully (status code exit status: 1): LC_ALL="C" "aarch64-linux-musl-gcc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-gdwarf-4" "-fno-omit-frame-pointer" "-I" "/home/rjzak/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/pqcrypto-internals-0.2.11/include" "-I" "pqclean/common" "-I" "pqclean/crypto_kem/ml-kem-512/clean" "-Wall" "-Wextra" "-o" "/home/rjzak/CLionProjects/conclave/target/aarch64-unknown-linux-musl/debug/build/pqcrypto-mlkem-46660a178fe8fcc2/out/c6d0c3e1cf350802-verify.o" "-c" "pqclean/crypto_kem/ml-kem-512/clean/verify.c"
error: failed to run custom build command for `pqcrypto-mlkem v0.1.1`
Rust: 1.95
Linux: Debian 12.13 Linux debianvm 6.1.0-47-arm64 #1 SMP Debian 6.1.170-3 (2026-05-08) aarch64 GNU/Linux
Musl gcc:
❯ aarch64-linux-musl-gcc --version
aarch64-linux-gnu-gcc (Debian 12.2.0-14+deb12u1) 12.2.0
Copyright (C) 2022 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Compiling for musl seems to cause a C macro compiler error:
Rust: 1.95
Linux: Debian 12.13
Linux debianvm 6.1.0-47-arm64 #1 SMP Debian 6.1.170-3 (2026-05-08) aarch64 GNU/LinuxMusl gcc: