lawrence-laz / neotest-zig

Test runner for Zig in Neovim using Neotest backend.
MIT License
27 stars 7 forks source link

feat: support zig 0.14 #31

Closed weskoerber closed 2 months ago

weskoerber commented 3 months ago

Adds support for Zig 0.14 (master).

As far as I can tell, https://github.com/ziglang/zig/pull/20908 broke it -- specifically commit ziglang/zig@1ba6b56c817777c5f504a5975591da6de68dd361.

This PR abstracts the debug symbol information behind some functions, which internally decide which fields of the structures to access depending on the Zig version (0.13 or 0.14).

lawrence-laz commented 3 months ago

Looks good, thanks!

I am currently away for a week. Hopefully this does not block you and the PR can wait till the next week?

weskoerber commented 3 months ago

No this doesn't block me, I'm using my fork in my config for now. Enjoy your time away :)

lawrence-laz commented 2 months ago

Thanks!