Closed BlueSolei closed 3 months ago
this should compile error afaik. musl is not a valid abi for windows
edit: this this the whole log? not sure from this if it's zig's or clang's fault the error wasn't more clear
Unfortunately you dont show the ~~generated relevant cmake error logs. Might be related to https://github.com/ziglang/zig/pull/17824.~~
Zig could probably give a better error here, but that should be filed on ziglang/zig. This is fundamentally a nonsensical target triple, so it's not really a zig-bootstrap issue.
Build of x86_64-windows-musl on WSL ubuntu
I tried to build
x86_64-windows-musl
withmcpu = native
on WSL-ubuntu on Windows 11 Pro. I cloned the repo on branchmaster
at commit1dc1fa6a1
.The command line for the build was:
./build x86_64-windows-musl native
The
zig
exec at the WSL ubuntuhost
was created, but it failed to compile a test.c
file given it byCMake
.Here is the error printed:
Attached the files: CMakeError.log CMakeOutput.log testCCompiler-42815b.zip