Answer by Gregory Conrad for Compile a Rust program to an exe using an M1 mac?
I'm going to jump in with a couple newer solutions that worked really well for me:cargo-zigbuildTargets (*-pc-windows-gnu afaik):i686-pc-windows-gnux86_64-pc-windows-gnucargo-zigbuild also supports...
View ArticleAnswer by Sahandevs for Compile a Rust program to an exe using an M1 mac?
Solution 1:You can install/add the targets using these commands :rustup target add x86_64-pc-windows-gnurustup toolchain install stable-x86_64-pc-windows-gnuthen you can target windows from your...
View ArticleCompile a Rust program to an exe using an M1 mac?
I have written a program in Rust on my M1 Mac, and compiled it to a Unix executable just fine. Now I want to compile it to a Windows executable as well. I first tried$ cargo target add...
View Article
More Pages to Explore .....