1
0
Fork 0
mirror of https://github.com/zigzap/zap.git synced 2025-10-21 07:34:08 +00:00

README: ref zig issue 15419 workaround

This commit is contained in:
Rene Schallner 2023-04-23 07:56:07 +02:00
parent 346dba0601
commit 24c5b4fdc3

View file

@ -151,8 +151,10 @@ examples to see how to use zap.
### Please note: latest zig master ### Please note: latest zig master
Latest zig-master has problems handling the recent GitHub Latest zig-master has problems handling the recent GitHub redirects to
redirects to `codeload.github.com`. My work-around for this is as follows: `codeload.github.com`. Check if this issue still persists
[here](https://github.com/ziglang/zig/issues/15419). My work-around for this is
as follows:
Change your `build.zig.zon` zap dependency to localhost: Change your `build.zig.zon` zap dependency to localhost:
@ -181,8 +183,7 @@ $ python -m http.server
``` ```
This hosts the downloaded dependencies locally on port 8000. After the first This hosts the downloaded dependencies locally on port 8000. After the first
`zig build`, you can stop the python http server with `zig build`, you can stop the python http server with <kbd>CTRL</kbd>+<kbd>C</kbd>.
<kbd>CTRL</kbd>+<kbd>C</kbd>.
## Updating your project to the latest version of zap ## Updating your project to the latest version of zap