linuxwave
linuxwave copied to clipboard
Zig 0.12/0.13
Description
Partially taken from #8
Change summary:
zig-clapupdated to 0.8.0, with necessary changes- removed the
main.zigtest, the cli parser chokes on the args received from the test invocation itself, and arguably this test isn't that useful to begin with - code in
gen.zigadjusted for type casting breaking changes back from 0.11 - necessary build system changes for the new
optimizeterminology - other build system changes re: imports and modules
std.os -> std.posixrename{write,read}IntLittlefunctions now are called{write,read}Intand accept an endian argument
Motivation and Context
How Has This Been Tested?
zig build
zig build -Doptimize=ReleaseSafe
zig build --summary all test
# run the built linuxwave and compare output to 0.1.5
Screenshots / Logs (if applicable)
Types of Changes
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [x] Breaking change (fix or feature that would cause existing functionality to change)
- [ ] Documentation (no code change)
- [ ] Refactor (refactoring production code)
- [ ] Other
Checklist:
- [x] My code follows the code style of this project.
- [x] I have updated the documentation accordingly.
- [ ] I have added tests to cover my changes.
- [x] All new and existing tests passed.
Seems https://hub.docker.com/r/euantorano/zig from the Dockerfile is no longer active...
Added some compatibility changes so that we can build for both zig 0.12 and 0.13:
- use
b.path()to specify module paths inbuild.zig - bump
zig-clapto 0.9.1 - gitignore
.zig-cache/as well