Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rust-windows-gnu编译配置 #26

Open
Triment opened this issue Sep 9, 2022 · 0 comments
Open

rust-windows-gnu编译配置 #26

Triment opened this issue Sep 9, 2022 · 0 comments

Comments

@Triment
Copy link
Owner

Triment commented Sep 9, 2022

cargo.toml设置编译目标为gnu

[build]
target="x86_64-pc-windows-gnu"

cmd

rustc --print target-list

参考

1、安装msys2
msys2
2、进入msys2

pacman -S mingw-w64-x86_64-gcc
@Triment Triment changed the title rust查看可编译架构 rust-windows-gnu编译配置 Sep 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant