You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pin actions/checkout to v3 since v4 pulls in node 20, which needs glibc 2.28.
The list of hacks is only going to grow, but we are ultimately limited by the fact that we need to support at least glibc 2.28 (minimum of versions supported across CentOS, Debian, and Ubuntu LTS).
It seems like cargo zigbuild might be able to solve our problems here by letting us build against glibc 2.27 (or 2.28?), and I did a basic check (strings target/release/cargo-nextest | grep GLIBC) to ensure it works. Some notes:
We use cargo-zigbuild with cargo-auditable and cargo-hack (<=0.6.10, newer version use new cargo subcommand which cargo-zigbuild doesn't support forwarding yet rust-cross/cargo-zigbuild#195) by setting env CARGO
We've been resorting to increasingly convoluted workarounds to get nextest compiling against glibc 2.27. So far we have:
The list of hacks is only going to grow, but we are ultimately limited by the fact that we need to support at least glibc 2.28 (minimum of versions supported across CentOS, Debian, and Ubuntu LTS).
It seems like cargo zigbuild might be able to solve our problems here by letting us build against glibc 2.27 (or 2.28?), and I did a basic check (
strings target/release/cargo-nextest | grep GLIBC
) to ensure it works. Some notes:cargo zigbuild
and is likely our best bet.ccing @NobodyXu in case you have thoughts.
The text was updated successfully, but these errors were encountered: