sam701 / zig-toml

Zig TOML (v1.0.0) parser
MIT License
30 stars 9 forks source link

Compile with the new builtin syntax #2

Closed Spadi0 closed 1 year ago

Spadi0 commented 1 year ago

This PR allows the library to compile with the latest master version of the Zig compiler.

The relevant compiler changes are in these two PRs: ziglang/zig#16046 and ziglang/zig#16163. They change the cast builtins to infer the result type and change the order of the conversion builtins to @xFromY instead of @yToX.

sam701 commented 1 year ago

Thank you for contribution 👍