windows 11
git clone -b 0.16.x https://codeberg.org/ziglang/zig
i downloaded 3 different versions of the zig compiler binaries to build the source of branch 0.16.x
all 3 fail at something (the closest one is 0.16.0 but it still fails)
(imagines attached)
#cannot build zig compiler
1 messages · Page 1 of 1 (latest)
i'm sure i'm doing something wrong myself but
i believe it's a a shame that the source code doen't tell what version of the compiler should be used used to compile it.
build.zig.zon should contain that field, and if it already does, well it's never populated for any zig repo i've tried so far
its not really reasonable to expect the compiler to constantly keep track of what version can build it, it just breaks too constantly
please only share concrete help not philosophy
you should get the 0.16.0 tag
You likely need an even newer build of the compiler
Alternatively you could checkout the zig repo at a commit corresponding with the build that you do have
no, you;re cloning the branch
then only ask concrete questions instead of saying what should happen
When you’re building with that 0.17-dev build, what commit of the zig repo are you checked out at?
Looks like they have an option where they package the right zig version for you to use
https://codeberg.org/ziglang/zig/src/tag/0.16.0#option-1-use-the-windows-zig-compiler-dev-kit
to build any given commit refer to https://codeberg.org/ziglang/zig#building-from-source
Looks like they didnt put the right version of CI script though lol. Will need to change branch/master to tag/0.16.0 in it
okay thank you