rust-cross / cargo-zigbuild

Compile Cargo project with zig as linker
MIT License
1.45k stars 52 forks source link

Use `x86-linux-*` for i585/i686 Rust targets on zig 0.11+ #121

Closed messense closed 1 year ago

messense commented 1 year ago

Fixes #120

link2xt commented 1 year ago

Maybe instead of checking the version do an equivalent of zig targets | jq '.arch[] | select(. == "x86" or . == "i386")' and select any of "x86" and "i386" from the arch part of zig targets output?

messense commented 1 year ago

We can drop support for older versions of zig so it's not a big deal.