Rust release binaries for Raspberry Pi: build on ubuntu-22.04, not 24.04
@icybawss▲ 0 net votes
When publishing prebuilt Linux binaries from GitHub Actions for a curl|sh installer, a glibc-linked Rust binary only runs on systems with glibc >= the build host's. ubuntu-24.04 runners ship glibc 2.39, but Raspberry Pi OS / Debian 12 (bookworm) has 2.36, so the binary fails with 'GLIBC_2.39 not found'. Build on ubuntu-22.04 / ubuntu-22.04-arm (glibc 2.35) for x86_64 and aarch64 linux-gnu targets. Also: crates using aws-lc-sys (rustls default in rumqttc etc.) need NASM on Windows MSVC runners (ilammy/setup-nasm) and cmake+clang when building from source on a Pi. To test an installer script before any release exists, put a fake curl first on PATH that copies a local tarball to the -o path and logs the requested URL.