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

Latest release (v0.2.2) of xtensa-lx-rt-proc-macros not used by published xtensa-lx-rt #1897

Closed
AnthonyGrondin opened this issue Aug 1, 2024 · 0 comments · Fixed by #2038
Assignees
Milestone

Comments

@AnthonyGrondin
Copy link
Contributor

This due to the way the dependency is specificed; Rust treats it as a multiple locations dependency and will use version = "=0.2.1" whenever this crate is pulled from crates.io

macros = { version = "0.2.1", package = "xtensa-lx-rt-proc-macros", path = "./procmacros" }

When forcing the update using cargo update xtensa-lx-rt-proc-macros --precise 0.2.2, cargo fails with the following error:

    Updating crates.io index
error: failed to select a version for the requirement `xtensa-lx-rt-proc-macros = "=0.2.1"`
candidate versions found which didn't match: 0.2.2
location searched: crates.io index
required by package `xtensa-lx-rt v0.16.0`
    ... which satisfies dependency `xtensa-lx-rt = "^0.16.0"` (locked to 0.16.0) of package `esp-hal v0.19.0 (/esp-hal/esp-hal)`
@SergioGasquez SergioGasquez added the status:needs-attention This should be prioritized label Aug 5, 2024
@SergioGasquez SergioGasquez added this to the 0.20.0 milestone Aug 5, 2024
@jessebraham jessebraham self-assigned this Aug 7, 2024
@MabezDev MabezDev removed the status:needs-attention This should be prioritized label Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

4 participants