Closed renatoathaydes closed 2 months ago
Try zig 0.10.1/0.11.0 if you want to build for windows gnu targets, 0.12.0 doesn't work yet.
If I just wanted to support Windows for most Windows users, which platforms should I be targetting
IMO you should target x86_64-pc-windows-msvc
(and you don't need to use cargo-zigbuild when you are building on windows), windows gnu targets are usually for cross compiling from a non-windows environment or avoid using proprietary MSFT softwares.
Hi, this is just a question, I don't believe there's any bugs here, but hope you can help me set up my release pipeline for Windows.
I've setup a release GitHub Action that uses this project to cross-compile for all platforms I'm interested in. It worked flawless for:
x86_64-unknown-linux-gnu
aarch64-unknown-linux-gnu
aarch64-apple-darwin
x86_64-apple-darwin
However, on the last platform I wanted to support,
x86_64-pc-windows-gnu
, it didn't work.Here's the error I got on Windows (
os: windows-latest
on GH Actions):Is there something I need to change or this platform is not supported?
If I just wanted to support Windows for most Windows users, which platforms should I be targetting (sorry about asking you, but I have no clue which Windows targets are appropriate and I thought that perhaps you could help with that)?