Last active
September 18, 2023 12:03
-
-
Save atomofiron/b0345ca1ce88afab9a660d9b28d191b6 to your computer and use it in GitHub Desktop.
Cargo crossplatform compilation commands
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Release Darwin x86_64 | |
cargo build --release --bin <NAME> --target x86_64-apple-darwin | |
Release Darwin Arm | |
cargo build --release --bin <NAME> --target aarch64-apple-darwin | |
Release Gnu x86_64 | |
cargo build --release --bin <NAME> --target x86_64-unknown-linux-gnu | |
Release Win Gnu x86_64 | |
cargo build --release --bin <NAME> --target x86_64-pc-windows-gnu |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment