Skip to content

Commit

Permalink
README: ref zig issue 15419 workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
renerocksai committed Apr 23, 2023
1 parent 346dba0 commit 24c5b4f
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,10 @@ examples to see how to use zap.

### Please note: latest zig master

Latest zig-master has problems handling the recent GitHub
redirects to `codeload.github.com`. My work-around for this is as follows:
Latest zig-master has problems handling the recent GitHub redirects to
`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:

Expand Down Expand Up @@ -181,8 +183,7 @@ $ python -m http.server
```

This hosts the downloaded dependencies locally on port 8000. After the first
`zig build`, you can stop the python http server with
<kbd>CTRL</kbd>+<kbd>C</kbd>.
`zig build`, you can stop the python http server with <kbd>CTRL</kbd>+<kbd>C</kbd>.


## Updating your project to the latest version of zap
Expand Down

0 comments on commit 24c5b4f

Please sign in to comment.