How to cross compile your Rust code on a Linux PC to run on Windows as an exe
🟢 sudo apt-get install gcc-mingw-w64-x86-64 -y
🟢 rustup target add x86_64-pc-windows-gnu
🟢 cargo build --target x86_64-pc-windows-gnu
#blockchain Code taken from here :
[ Ссылка ]
View the Rust playlist here : [ Ссылка ]
It would be amazing if you want to support my channel via Patreon:
Patreon := 🔗 [ Ссылка ]
#CompileRust #RustLang
![](https://s2.save4k.ru/pic/3GNwbzYiQsQ/maxresdefault.jpg)