#Getting version from build.zig.zon in build.zig?

1 messages · Page 1 of 1 (latest)

crude slate
#

Is there any way to get the package version from build.zig.zon (the root package, itself) in build.zig?

gloomy lynx
#

Unfortunately no. There is a plan to allow @importing ZON files and/or deserializing at runtime like JSON but it hasn't been implemented yet.