583 B
583 B
Building modern Zig from the original C++ implementation
This repository explores building Zig from the C++ implementation without using binary blobs. Forum post goes with this.
$ docker build -t zig-repro .
$ docker run -ti --rm \
-v ~/code:/x \
-v /home/$USER/.cache/zig:/home/$USER/.cache/zig \
-w /x \
zig-repro \
sh -c "useradd -s /bin/bash $USER && cd zig && su $USER; bash"
$ ../zig-repro/run