- Zig
0.15.2 - Git
zig build test
zig build docs-check
zig build examples-check
zig build ship-checkUse these additional commands when touching performance/conformance code:
zig build bench-compare
zig build conformance- Format Zig code before pushing:
zig fmt src/**/*.zig examples/*.zig build.zig- Keep public behavior changes covered by tests in
src/root.zigtest graph. - Keep examples in
examples/executable and behavior-asserted.
- User-facing snippets in
README.mdandDOCUMENTATION.mdmust match canonical code inexamples/. - Every example file must contain executable tests.
- Run
zig build examples-checkbefore merging doc/example changes.
- Use clear commit messages describing intent and scope.
- Keep unrelated refactors out of feature/fix commits.
- Include test/validation summary in PR description.