|
|
|
|
|
by nasretdinov
451 days ago
|
|
Most of the magic is due to two things:
1. Zig comes with clang and musl (C library) for lots of architectures, so can be used for cross-compiling, even for non-Zig projects since clang can build C/C++ no problem
2. Musl is designed to be compatible with static linking (glibc is not), so it's the natural choice here too |
|