Zig 0.15.2 compatibility#237
Conversation
- ArrayHashMap.put() now requires allocator as first parameter - ArrayList.append() now requires allocator as first parameter These changes are required for Zig 0.15.2 which changed the API for managed data structures to take the allocator explicitly.
|
@nbaertsch thanks for this fix. I think we may also want to bump the I also notice we don't have any tests that cover this (i.e. anything in a test that compiles |
|
bumped version. Still getting up to speed on the codebase and WASM in general TBH but I can implement some simple unit tests in this PR prior to merge. |
|
Not sure how you want to test |
|
Skip windows test for now since zware doesn't look like it supports it today. I plan on looking into Windows compilation target in a different branch (someday soon hopefully). |
|
Thanks @nbaertsch! |
Minor changes for 0.15.2
These changes are required for Zig 0.15.2 which changed the API for managed data structures to take the allocator explicitly.