Closed YOU54F closed 5 months ago
fixes #354
Cross was being retrieved from main for aarch64 linux targets, which compiles against 2.31 of glibc.
Pinning cross to 0.2.5 will result in an image using 2.23 glibc which you can see by running ldd --version
ldd --version
It can be confirmed, and checked easily against different image tags using the following in the Cross.toml
Cross.toml
[target.aarch64-unknown-linux-gnu] pre-build=[ "ldd --version", "exit 1", ] image = "ghcr.io/cross-rs/aarch64-unknown-linux-gnu:0.2.5"
This PR also introduces a cargo clean command in between builds in order to not impact issues in builds (spurious glibc errors)
cargo clean
fixes #354
Cross was being retrieved from main for aarch64 linux targets, which compiles against 2.31 of glibc.
Pinning cross to 0.2.5 will result in an image using 2.23 glibc which you can see by running
ldd --version
It can be confirmed, and checked easily against different image tags using the following in the
Cross.toml
This PR also introduces a
cargo clean
command in between builds in order to not impact issues in builds (spurious glibc errors)