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

Fix Windows installation #399

Merged
merged 4 commits into from
May 26, 2023
Merged

Conversation

SergioGasquez
Copy link
Member

  • Added resolver = "2" to the workspace Cargo.toml
  • cargo dependency uses the feature vendored-openssl only on Unix systems
  • Bump cargo version
    • This required bumping the MSRV to 1.65

Those changes seem to make the installation succeed in all OSs (and does not require installing perl on Windows). I tested the installation in:

  • MacOs
  • Arch Linux
  • Debian using Docker
  • Windows 11

Any other test is appreciated: cargo install cargo-espflash --git https://github.com/SergioGasquez/espflash --branch fix/windows-install

Copy link
Member

@jessebraham jessebraham left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for taking care of this, LGTM!

@jessebraham jessebraham merged commit ad8e6a4 into esp-rs:main May 26, 2023
@SergioGasquez SergioGasquez deleted the fix/windows-install branch May 26, 2023 16:44
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

Successfully merging this pull request may close these issues.

cargo-espflash installation fails on Windows 11
2 participants