▲ | AndyKelley 2 days ago | |
One of the features Zig provides is ability to target any glibc version. See https://github.com/ziglang/glibc-abi-tool/ for more details on how this is solved. | ||
▲ | forrestthewoods 2 days ago | parent [-] | |
You’re my hero for this. One of my side projects is building a toolchain to enable C++ cross-compile using the Zig header/source libs. I didn’t love Zig as a Clang++ replacement because it has a bit too much magic. And it might go ahead? But the underlying library code is a God send |