feat: add full Zig 0.16 compatibility and tuple module selection#118
Merged
Conversation
- Support Zig 0.14, 0.15, and 0.16 seamlessly via a central `compat.zig` and conditional build logic for API and stdlib changes. - Add separate tuple helper modules and select at build time to handle breaking changes in Zig 0.16 parser. - Update CI, doc deployment, .gitignore, and examples to use new compat layer and tuple imports for simplified version-agnostic code. - Improve example maintainability by isolating version differences.
Member
Author
|
This is todo, I will update this pr this weedend |
Update webui dependency to dadf417 to stay current with upstream and benefit from the latest fixes and improvements.
- Add src/tests.zig containing verification for enums, constants, error sets, struct layout, and base64 helpers - Add C-backed smoke tests for window, port, mime, memory, and config APIs - Update build to include and wire up test target - Update CI workflow to run tests on every build Increase confidence in correctness and future refactoring by automating regression coverage.
- Explain that the package builds against all supported stable Zig versions - Advise against using Zig nightly due to unstable build-system API - Correct grammar and update listed versions in installation instructions This helps users avoid build issues and improves guidance for installation.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
compat.zigand conditional build logic for API and stdlib changes.