I am using:
- OS: Windows
- Zig: 0.17.0-dev.1609+11e2bb391
- Target host: x86_64-windows
- Archive: tsk-aarch64-windows.zip
- Archive size: approximately 298 MB
Running:
zig fetch --save=tsk-aarch64-windows https://github.com/neo2043/comp/releases/download/tsk%2F01de0345edaa1ebf21dba6939a7c6bc7129e6e7d/tsk-aarch64-windows.zip
causes Zig to panic:
thread 10064 panic: source and destination arguments have non-equal lengths
Cannot print stack trace: stack tracing is disabled
error: the following build command exited with code 3:
...\maker.exe fetch --zig-lib=...\zig\0.17.0-dev.1609+11e2bb391\files\lib --zig=...\zig\0.17.0-dev.1609+11e2bb391\files\zig.exe --global-cache=C:\Users\AUTO\AppData\Local\zig --seed=0xf7256f34 --save=tsk-aarch64-windows https://github.com/neo2043/comp/releases/download/tsk%2F01de0345edaa1ebf21dba6939a7c6bc7129e6e7d/tsk-aarch64-windows.zip
The GitHub release asset exists and responds with HTTP 200. Its reported size is 298672191 bytes.
The same project currently has no dependency entry in build.zig.zon; the failure happens during the standalone zig fetch command before compilation.
Expected behavior:
zig fetch should download and register the ZIP dependency or return a normal error message.
Has anyone encountered this panic when fetching large ZIP files on Windows with this Zig development version? Is this a known issue, is there a workaround for this?