Skip to content

fix: Transition from ArrayList to ArrayListUnmanaged#174

Merged
robbielyman merged 2 commits intomainfrom
push-qzmroqnylnlv
Aug 17, 2025
Merged

fix: Transition from ArrayList to ArrayListUnmanaged#174
robbielyman merged 2 commits intomainfrom
push-qzmroqnylnlv

Conversation

@robbielyman
Copy link
Collaborator

This fix anticipates upcoming changes in Zig 0.15 which will make ArrayList a synonym for ArrayListUnmanaged while still maintaining compatibility (for now) with Zig 0.14

This fix anticipates upcoming changes in Zig 0.15 which will make
`ArrayList` a synonym for `ArrayListUnmanaged` while still maintaining
compatibility (for now) with Zig 0.14
This fix changes `define.zig` to follow emerging style preference in the
Zig community for unmanaged data structures. In this particular case,
this comes with O(n) memory savings, where n is the number of type
definitions written, since the size of `String` goes from 4 * usize to 3.
@robbielyman
Copy link
Collaborator Author

i think fetching might be broken on Windows nightly? not clear what is up. I'll go ahead and merge this and rerun CI in a couple days to see if the recent changes on Zig master have resolved the issue.

@robbielyman robbielyman merged commit ef5af10 into main Aug 17, 2025
10 of 12 checks passed
@robbielyman robbielyman deleted the push-qzmroqnylnlv branch August 17, 2025 18:37
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