Skip to content

Fix Windows installation#399

Merged
jessebraham merged 4 commits into
esp-rs:mainfrom
SergioGasquez:fix/windows-install
May 26, 2023
Merged

Fix Windows installation#399
jessebraham merged 4 commits into
esp-rs:mainfrom
SergioGasquez:fix/windows-install

Conversation

@SergioGasquez
Copy link
Copy Markdown
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

@SergioGasquez SergioGasquez linked an issue May 5, 2023 that may be closed by this pull request
@SergioGasquez SergioGasquez requested a review from jessebraham May 5, 2023 08:16
Copy link
Copy Markdown
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