#Errors in Zig compiler test suite

1 messages · Page 1 of 1 (latest)

trail night
#

I'm trying to setup a zig compiler dev environment, but I'm getting some strange errors when I try to run the test suite against the master branch. I haven't made any changes yet, and I'm running on Ubuntu 22.04.

When I run the following command:

stage4/bin/zig build test -Denable-llvm -Dskip-release=true -Dskip-non-native=true

I get many errors that look like this:

run runtime_bitwise_and: error: Cannot open assembly '/home/f-cozzocrea/projects/zig/zig-cache/o/67eb21df5829e7502fb560aa5fec6328/runtime_bitwise_and.exe': File does not contain a valid CIL image.

run runtime_bitwise_and: error: the following command exited with code 2 (expected exited with code 0):
/home/f-cozzocrea/projects/zig/zig-cache/o/67eb21df5829e7502fb560aa5fec6328/runtime_bitwise_and.exe

It looks like the zig binary does understand the native target since the output of stage4/bin/zig env is "target": "x86_64-linux.6.2...6.2-gnu.2.35"

It seems like the tests are trying to build and run Windows binaries, which is strange since I have -Dskip-non-native set. I can also see that MacOS binaries are being built as well. What am I missing?

wintry idol
trail night