diff --git a/README.md b/README.md index 7db1836..e04be7b 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,16 @@ cd outfly cargo run ``` +## Building for Windows on Linux + +``` +rustup target add x86_64-pc-windows-gnu +pacman -S mingw-w64-toolchain # on ArchLinux. other distros have their equivalent package +cargo build --target=x86_64-pc-windows-gnu --release +``` + +More information here: https://bevy-cheatbook.github.io/setup/cross/linux-windows.html + # Credits - https://pixabay.com/sound-effects/typosonic-typing-192811