#Is there a way to see what version of Zig a module is made for?

1 messages · Page 1 of 1 (latest)

grizzled nacelle
#

Hey. I'm trying to use https://github.com/zig-gamedev/zglfw. The only issue is that nowhere does it say what version it's made for. It has no other branches and no tags. Is there some hidden way to that devs can store this information somewhere that I'm missing, or am I supposed to guess?

Thanks

#

I've tried using 0.15.2 and 0.17.0-dev and both failed to build. I'm just wondering if there's an easier way to find out this info

charred schooner
#

There is a minimum_version field in the build.zig.zon file.

grizzled dagger
#

in this case its 0.14.0 per the build.zig.zon.
no way to tell on a module basis, only projects, and only if they have that field which is optional. Or maybe it could mention the zig version in the readme.

that is about all you got, other than trying different versions until it builds