Add cross-compile instructions and a config file.
This commit is contained in:
parent
643627706a
commit
038b47b5e3
2 changed files with 9 additions and 0 deletions
5
Cross.toml
Normal file
5
Cross.toml
Normal file
|
@ -0,0 +1,5 @@
|
|||
[build]
|
||||
default-target = "aarch64-unknown-linux-musl"
|
||||
|
||||
[target.aarch64-unknown-linux-musl]
|
||||
|
|
@ -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.
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue