#cannot build zig compiler

1 messages · Page 1 of 1 (latest)

jade eagle
#

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)

#

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

rotund crater
#

its not really reasonable to expect the compiler to constantly keep track of what version can build it, it just breaks too constantly

jade eagle
#

please only share concrete help not philosophy

dreamy jewel
pallid nest
#

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

jade eagle
#

that's what i've done

#

see the images please

dreamy jewel
#

no, you;re cloning the branch

rotund crater
pallid nest
#

When you’re building with that 0.17-dev build, what commit of the zig repo are you checked out at?

dull sigil
dreamy jewel
dull sigil
#

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

jade eagle
#

okay thank you