New comment by loreb on void-packages repository https://github.com/void-linux/void-packages/issues/37497#issuecomment-1170368348 Comment: @paper42 on x86_64/musl zig *does* build if given enough swap - I tried in a vm with 4GB of memory and 10GB of swap and it compiled fine in < 20 minutes See https://github.com/ziglang/zig/wiki/Troubleshooting-Build-Issues and especially https://github.com/ziglang/zig/issues/6485#issuecomment-916798299 (rpi4 8GB ram)