问题描述
用MacOS进行编译Windows程序时遇到些错误
解决方案
brew install mingw-w64
rustup target add x86_64-pc-windows-gnu
cargo build --release --target=x86_64-pc-windows-gnu
用MacOS进行编译Windows程序时遇到些错误
brew install mingw-w64
rustup target add x86_64-pc-windows-gnu
cargo build --release --target=x86_64-pc-windows-gnu