cross-rs / cross

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

Creating multi-arch images with cross #1104

Open Emilgardis opened 1 year ago

Emilgardis commented 1 year ago

Checklist

Describe your request

Simplify or explain creating multi-arch images with cross

for example: https://stackoverflow.com/questions/71466241/docker-buildx-multiarch-from-existing-binaries

Describe why this would be a good inclusion for cross

No response

Alexhuszagh commented 1 year ago

Although somewhat unrelated, this also depends on self-hosted runners and is linked to #610, since we will need macOS, Windows, and ARM64 Linux runners in total.

Emilgardis commented 1 year ago

Would we? I fail to see how.

Alexhuszagh commented 1 year ago

Would we? I fail to see how.

At least early on I believe. The musl and crosstool builds will take forever otherwise when built via Qemu (I've tried a few times) without a cache. The crosstool builds already take quite a while building a 3-stage compiler.