https://github.com/dannixon/ssg-rust-workshop-2022-04-05-cross-rs
https://github.com/dannixon/ssg-rust-workshop-2022-04-05-cross-rs
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/dannixon/ssg-rust-workshop-2022-04-05-cross-rs
- Owner: DanNixon
- Archived: true
- Created: 2022-04-04T14:07:56.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-04-04T17:37:35.000Z (about 3 years ago)
- Last Synced: 2025-03-24T19:53:54.811Z (about 2 months ago)
- Language: Rust
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SSG Rust Workshop - cross-rs
This crate builds a single binary target `magic-8-ball` that prints a random message when it is executed.
We want to deploy this on ARM and x64 Linux and Windows, because reasons.To do this we will employ the [cross](https://github.com/cross-rs/cross) toolchain.
## Aims
- Become familiar with [cross](https://github.com/cross-rs/cross).
- Install cross and use it to build a linux binary with static linked MUSL libc.
- Using GitHub Actions, build binaries for Linux ARM64, Linux x64 and Windows. Store the binaries as artefacts, download them and verify they work.([solution](https://github.com/DanNixon/ssg-rust-workshop-2022-04-05-cross-rs/tree/solution))