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

espup install should suceed even if the Xtensa Rust toolchain is already installed #138

Closed
SergioGasquez opened this issue Jan 16, 2023 · 0 comments · Fixed by #142
Closed
Assignees
Labels
bug Something isn't working

Comments

@SergioGasquez
Copy link
Member

Bug description

At the moment, if $RUSTUP_HOME/.rustup/toolchain/esp is present, the installation will fail with:

Error: espup::toolchain::rust::xtensa_rust_already_installed

  × ⛔  Previous installation of Rust Toolchain exists in: '/home/esp/.rustup/toolchains/esp'. Please, remove the directory before new installation.

espup should be idempotent and running several times espup install should lead to the same output (successful). Running several times espup install could also be a way of re-generating the export file, so it could be used as a solution for #61.

To Reproduce

Steps to reproduce the behavior:

  1. espup install
  2. espup install
@SergioGasquez SergioGasquez added the bug Something isn't working label Jan 16, 2023
@SergioGasquez SergioGasquez self-assigned this Jan 16, 2023
@SergioGasquez SergioGasquez linked a pull request Jan 16, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant