Description
Zig Version
0.11.0-dev.4404+4f6013bf5
Steps to Reproduce and Observed Behavior
You can close this if you want. I thought it might be useful to have a tracking issue of the issues that have blocked me from getting my terminal emulator using the Zig package manager in 0.11. It might be a good target for 0.11.1 (I mean, I'd love that).
I've just completed getting as far as I can. The good news is its... pretty close? Ghostty has dozens of dependencies with multiple layers of transitive shared dependencies so its a good stress test. I'm impressed I got as far as I did. And I'm very sorry I didn't do more testing before 0.11.0 (congrats!).
Update 10/1/2023: Ghostty is now able to use the package manager as of 0.12.0-dev.694+937e8cb70
! See the comment for more information. This list now has additional issues we've run into but have found workarounds.
Full Blockers
These are actively preventing me from being able to use the package manager.
Major Issues
These are issues that have really nasty workarounds and that I hit very regularly.
- package manager: no dependency named 'X' in 'build.zig.zon'; but it is #16354
- [std.http] zig build fails to download large archives from github #15342
Minor
These are issues that are easy to work around but just muck up the experience.
- std.tar: handle tar files with symbolic links #16678
- ability to fetch only needed dependencies #14597 (so that dependencies with symlinks can be ignored on Windows)
- zig package manager should retry fetching on temporary errors #17472
The Zig core team should all have access to Ghostty's source. If you don't have access let me know. Happy to provide any more details on Discord.
Expected Behavior
Down with all Git submodules.