Skip to content

Instantly share code, notes, and snippets.

@matthewjberger
Created September 6, 2022 15:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matthewjberger/fad03e4adc7d36027662eb7ca4792036 to your computer and use it in GitHub Desktop.
Save matthewjberger/fad03e4adc7d36027662eb7ca4792036 to your computer and use it in GitHub Desktop.
Cross compile rust code for linux from windows

Start docker, then run:

cargo install cross --git https://github.com/cross-rs/cross
cross build --target aarch64-unknown-linux-gnu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment