Build Rust Projects with Cross
Version updated for https://github.com/houseabsolute/actions-rust-cross to version v1.0.7.
- This action is used across all versions by 1,350 repositories.
Action Type
This is a Composite action.
Go to the GitHub Marketplace to find the latest changes.
Action Summary
This GitHub Action simplifies cross-compiling Rust projects for multiple platforms using the cross tool. It automates the setup and execution of cross-compilation workflows, allowing developers to build binaries for various target architectures (e.g., Linux, Windows, macOS) from a single configuration. Key capabilities include support for multiple target triples and integration with GitHub-hosted runners, making multi-platform builds more efficient and streamlined.
What’s Changed
- Fixed a bug in calculating the
crossbinary’s hash. - Fixed cache key handling to deal with spaces in cache key elements, for example in the OS version. Reported by @gdubicki (Greg Dubicki). GH #50. Fixes #51.