-
Notifications
You must be signed in to change notification settings - Fork 24
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
Windows: Install MIGW dependency for x86_64-pc-windows-gnu #10
Comments
As a summary for those who are not familiar with this issue (or #9) or with Rust in Windows, there are two ABIs available for Windows:
#9 and #10 are the result of not having any of the proper ABI installed, and therefore, not meeting the Compile-time Requirements. At the moment, in So, I see two ways of dealing with this:
I would go for the option where we add Please, let me know your opinion or if I am missing something. Any other opinion/option is also more than welcome! @georgik @jessebraham @bjoernQ @MabezDev @JurajSadel |
I'd say option one (rustup as a requirement) is a very good option. As you said most users will already have it. Also, I'd say that if someone is willing to use GNU ABI those users are already used to the pain 😄 |
@SergioGasquez and I discussed this yesterday and I also am of the opinion that the first option is the better one. |
rustup deployment is integral part of vanilla boostrap environment. Please add the bootstrapping mechanism back. |
Thank you @SergioGasquez for returning the feature back. |
As discussed in #154, |
Install MIGW dependency for x86_64-pc-windows-gnu.
Without this dependency, the user will get an error during builds like
How to simulate
Run the following command in Windows Sandbox:
Solution
Implemented here: https://github.com/espressif/idf-env/blob/main/src/rust.rs#L484
Consider pointing directly to mingw repo, instead of esp-rs zipped version. The crate sevenz-rust for unpacking 7zip was improved and contains support also for unpacking Windows binaries: dyz1990/sevenz-rust#1
The new version of sevenz-rust should make it possible to remove this workaround: https://github.com/espressif/idf-env/blob/main/src/rust.rs#L182
This command should be deployed before any
cargo install
takes place.The text was updated successfully, but these errors were encountered: