Crosscompiling

Linux to Windows

  • rustup target list
  • rustup target add x86_64-pc-windows-gnu
  • sudo apt install mingw-w64
  • cargo build --release --target=x86_64-pc-windows-gnu