• Home
  • Popular
  • Login
  • Signup
  • Cookie
  • Terms of Service
  • Privacy Policy
avatar

Posted by John Dev


30 Nov, 2024

Updated at 14 Dec, 2024

Error: binary `cargo-embed` already exists in destination

I'm working my way through the Getting Started section of the rp-rs/rp-hal project.

I've run:

rustup self update
rustup update stable
rustup target add thumbv6m-none-eabi

and then:

cargo install elf2uf2-rs --locked
cargo install --locked probe-rs-tools

The last one generated this error:

12:08:15 ~/projects/rp2040_1 main $ cargo install --locked probe-re-tools
**Updating** crates.io index
**Downloaded** probe-rs-tools v0.24.0
**Downloaded** 1 crate (202.9 KB) in 0.37s
**error****:** binary `cargo-embed` already exists in destination as part of `cargo-embed v0.18.0`
Add --force to overwrite

I am new to Rust and I don't understand the implications of this, so I have two questions:

  1. Should I re-run with --force or will there be negative consequences down the road?
  2. Should I report this on the rp-rs/rp-hal GitHub project or could it just be a consequence of something I've done?

3 posts - 2 participants

Read full topic