rust - cross compile to target windows
First have to install (about 1G of additional space is required)
apt-get install gcc-mingw-w64
In case you would like to cross compile your application into windows, you can do the following
rustup target add x86_64-pc-windows-gnu
This will add the require component.
Then run cargo build like you normally wo
cargo build --release --target x86_64-pc-windows-gnu
Comments