Skip to content

updating Io.Clock, ArrayLists, vtable pointer casts and fuzzing#4

Open
0xveya wants to merge 2 commits into
Queyrouzec:masterfrom
0xveya:master
Open

updating Io.Clock, ArrayLists, vtable pointer casts and fuzzing#4
0xveya wants to merge 2 commits into
Queyrouzec:masterfrom
0xveya:master

Conversation

@0xveya
Copy link
Copy Markdown

@0xveya 0xveya commented Apr 10, 2026

I didn’t see the other PRs that already fixed some parts of what I changed, but I had to modify the slice in query.zig to make it work when testing against musl.
CI also broke due to Zig cache directories not existing because of issues with the setup-zig GitHub action, which I fixed.
I’m not sure if this PR is redundant, but it passed all tests and CI using the latest Zig master commit.

0xveya added 2 commits April 11, 2026 00:23
Fix runtime corruption of ParsedQuery SQL storage on x86-linux-musl by
materializing the final query as an exact-size constant array. 
Also update the for Zig 0.16 API changes:
  - use ArrayList.empty initialization
  - switch fuzz test entrypoint to std.testing.fuzz with Smith input
  - update clock.now usage
  - fix sqlite virtual table pointer casts to use @ptrCast()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant