add build instructions for windows on linux

This commit is contained in:
yuni 2024-03-22 11:46:12 +01:00
parent a652deecf0
commit e698fc6479

View file

@ -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