Thanks for contributing to WebUI Zig.
- Zig
0.15.2+(seebuild.zig.zon) - Linux, macOS, or Windows
Core commands:
zig build
zig build test
zig build examples
zig build parity-local- Create focused PRs with one clear goal.
- Include tests for behavior changes.
- Keep public API changes documented in
MIGRATION.mdandDOCUMENTATION.md. - Do not commit binaries or cache outputs.
- Run
zig fmton changed Zig files. - Keep active runtime pure Zig.
- Do not add
@cImport,translate-c, or active C/C++ runtime source paths. - Prefer explicit, deterministic behavior over implicit fallbacks.
Static guards are enforced by build steps; keep them green.
Before opening a PR, run:
zig build test
zig build examples
zig build parity-localIf your change affects launch/runtime behavior, also test at least one real GUI run:
zig build run -Dexample=minimal -Drun-mode=webview,browser,web-url- Use clear commit messages describing behavior changes.
- Mention platform-specific impact (Linux/macOS/Windows) when relevant.
- If a breaking API change is intentional, call it out explicitly.
Include:
- exact command used
- OS + Zig version
- expected behavior vs actual behavior
- logs or stack trace