tiehuis / zig-regex

A regex implementation for the zig programming language
MIT License
196 stars 24 forks source link

Build with Zig 0.11 and Zig master #31

Closed abhinav closed 9 months ago

abhinav commented 10 months ago

Changes build.zig to build with both Zig 0.11 and the current master (which includes breaking changes to the build system).

Verified locally with zigup:

❯ zigup run 0.11.0 build test --summary all
Build Summary: 3/3 steps succeeded
test cached
└─ run test cached
   └─ zig test Debug native cached 19ms MaxRSS:28M

❯ zigup run master build test --summary all
Build Summary: 3/3 steps succeeded
test cached
└─ run test cached
   └─ zig test Debug native cached 14ms MaxRSS:22M

This can be updated as needed until the changes are finalized for Zig 0.12.