-
Notifications
You must be signed in to change notification settings - Fork 186
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some build system examples can cause website build failure #399
Comments
Workaround: in the three failing |
I had the same issue trying to build it on macOS and debian 12 (cloned from main). To properly run
After these steps it worked here! |
This issue seems to be present on WSL2 ( $ sudo apt update && sudo apt install jq
$ zigup 0.13.0 && sudo ln -s '/mnt/c/Users/jdeokkim/Ubuntu/zig/0.13.0/files/zig' '/usr/local/bin/zig'
$ git clone https://github.com/ziglang/www.ziglang.org && cd www.ziglang.org
$ sed -i -e 's/build=success/build=fail/g' assets/zig-code/build-system/10-release/build.zig
$ zig build serve $ git add -- . ':!assets/zig-code/build-system/10-release/build.zig' |
After working around #389, running
zig build serve
on my system (Windows) results in the failures shown below.I understand these samples are not really meant to be run on any system, I just want to be able to complete a build to test my changes before opening a PR.
If that's not possible, I would clarify in the README that Windows is not supported and/or that some dependencies are needed to build the website.
const tool_run = b.addSystemCommand(&.{"jq"});
The text was updated successfully, but these errors were encountered: