Add cross-compile instructions and a config file.

This commit is contained in:
flabbergast 2023-04-21 15:25:56 +01:00
parent 643627706a
commit 038b47b5e3
2 changed files with 9 additions and 0 deletions

5
Cross.toml Normal file
View file

@ -0,0 +1,5 @@
[build]
default-target = "aarch64-unknown-linux-musl"
[target.aarch64-unknown-linux-musl]

View file

@ -63,7 +63,11 @@ The program panics/errors out in some cases and does not in some others. In part
## cross compilation
As of 2023-04-21T15:21:55, I am cross compiling with [cross-rs](https://github.com/cross-rs/cross).
It's configured in `Cross.toml`. Still uses `docker` so it should be running (and have a gig of space for the cross compile images available), but then
`cross build --release` should do the job.