cross-rs / cross

“Zero setup” cross compilation and “cross testing” of Rust crates
Apache License 2.0
6.21k stars 354 forks source link

Can you please bump version? #1522

Closed Kixunil closed 3 days ago

Kixunil commented 3 days ago

We have an issue testing with wine which is supposed to be fix by wine 9.0+ From my understanding, your scripts install the latest versions but since there wasn't a release for a while the published docker image has an old one, so just rebuilding should help.

Or if anyone can advise me if there's a super quick and easy way to publish my own image using this repository that could work too.

See https://groups.google.com/g/golang-nuts/c/Msg1USaNaqM for some details.

Emilgardis commented 3 days ago

See https://github.com/cross-rs/cross/blob/main/docs/config_file.md#targettargetimage

You can with that use the new images available under the :main tag.

So

[target.x86_64-pc-windows-gnu]
image = "ghcr.io/cross-rs/x86_64-pc-windows-gnu:main"

should do the trick

Or, you could just install cross from the main branch

cargo install cross --git https://github.com/cross-rs/cross
Kixunil commented 3 days ago

Thanks a lot! I've studied the doc and all but didn't notice that main exists (I'm not familiar with docker anyway). Our CI works now. :)