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
Install rust-mingw component when adding a target #607
Comments
Thanks for the report! This is interesting indeed. The easy way to fix this would be to have I also know that @alexcrichton has a desire to make In the meantime, a workaround for the problem would be to add the |
One issue here is that Logically, the |
@Diggsey I had to install mingw compiler, and add it as linker and ar in the cargo config. Then it worked well. I guess only the linker of |
@Diggsey ah interesting observation. Yep. |
Maybe we will deprecate the rust-mingw package and fold it into the NDK support feature of rustup when it arrives. |
@rustbot label: +O-windows |
When adding the target
i686-pc-windows-gnu
, rustup only installs rust-std, not rust-mingw. To cross-compile we need mingw component.When manually downloaded and copied rust-mingw, compile works well.
The text was updated successfully, but these errors were encountered: