▲ | 10000truths 2 days ago | |
One of the niceties of Zig's build system is its batteries-included support for targeting an explicitly provided glibc version. No need for alternate sysroots or dedicated old-distro containers like you would with the traditional C/C++ compilers, all you have to do is append it to the target triplet, like so: zig cc -target x86_64-linux-gnu.2.17 file.c | ||
▲ | klodolph 2 days ago | parent [-] | |
It’s not hard in Bazel either, it’s just not batteries-included. |