Skip to content

esp32c3-hal riscv-rt should be updated to 0.11.0 to avoid now yanked riscv 0.10.0 and 0.9.0 #349

Closed
@dougli1sqrd

Description

@dougli1sqrd

It looks like the riscv crate was updated to 0.10.1 and versions 0.9.0 and 0.10.0 were yanked from crates.io. The riscv-rt crate was also updated to 0.11.0 to depend on riscv 0.10.1.

Let's update the esp32c3-hal to depend on riscv-rt 0.11.0 to no longer depend on the missing riscv 0.9.0 crate.

In my Cargo.toml:

esp-hal-common = { git = "https://github.com/esp-rs/esp-hal", features = ["esp32c3"], rev = "4d036c3" }
esp32c3-hal = { git = "https://github.com/esp-rs/esp-hal", features = ["direct-boot"], rev = "4d036c3" }
$ cargo build
    Updating crates.io index
    Updating git repository `https://github.com/esp-rs/esp-hal`
error: failed to select a version for the requirement `riscv = "^0.9"`
candidate versions found which didn't match: 0.10.1, 0.8.0, 0.7.0, ...
location searched: crates.io index
required by package `riscv-rt v0.10.0`
    ... which satisfies dependency `riscv-rt = "^0.10.0"` of package `esp32c3-hal v0.4.0 (https://github.com/esp-rs/esp-hal?rev=4d036c3#4d036c38)`
    ... which satisfies git dependency `esp32c3-hal` of package `vgaterm v0.1.0 (/home/dougli1sqrd/code/rustbox/esp32c3-vgaterm)`

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions