You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have followed the guide at https://docs.rust-embedded.org/discovery-mb2, and at section 3.4. Verify the installation the cargo embed --target thumbv7em-none-eabihf command fails with multiple
error[E0463]: can't find crate for `core`
error messages, one for each dependency
I have added the target previously by running rustup target add thumbv7em-none-eabihf as the section 3.4 and the troubleshooting section suggested.
The text was updated successfully, but these errors were encountered:
I think I have figured out the root cause of the issue, I have rustup installed from the rustup.rs website via the shell script installer and I seem to have rust also installed from homebrew:
> which cargo
/opt/homebrew/bin/cargo
> which rustup
/Users/bfarago/.cargo/bin/rustup
The solution was to uninstall rust from homebrew and use only the rustup version:
brew uninstall rust
We should add this either to the Mac OS section or the Troubleshooting section of the book.
Thanks for the note! If you'd like to PR a fix, we'll take it. Otherwise I'll get around to writing something eventually. It would be better if you do it, as I don't have a modern Mac to try things out on and haven't used MacOS in a while.
I have followed the guide at https://docs.rust-embedded.org/discovery-mb2, and at section 3.4. Verify the installation the
cargo embed --target thumbv7em-none-eabihf
command fails with multipleerror messages, one for each dependency
I have added the target previously by running
rustup target add thumbv7em-none-eabihf
as the section 3.4 and the troubleshooting section suggested.The text was updated successfully, but these errors were encountered: