discovery icon indicating copy to clipboard operation
discovery copied to clipboard

[src/05-led-roulette] error: failed to download `half v1.8.2`

Open ofirbenatar opened this issue 3 years ago • 0 comments

running cargo build --features v2 --target thumbv7em-none-eabihf result in this error:

error: failed to download `half v1.8.2`

Caused by:
  unable to get packages from source

Caused by:
  failed to parse manifest at `C:\Users\ofir ben atar\.cargo\registry\src\github.com-1ecc6299db9ec823\half-1.8.2\Cargo.toml`

Caused by:
  could not parse input as TOML

Caused by:
  TOML parse error at line 1, column 1
    |
    | ^
  Unexpected ``
  Expected key or end of input

note: i had a bunch in problems in the setting up chapter, kept getting an error when installing cargo-embed error failed to download smallvec v1.9.0 . after googling the following command worked cargo install cargo-embed --locked. I don't know if this way of installing the cargo-embed crate is the right way.

ofirbenatar avatar Jul 14 '22 15:07 ofirbenatar