bytecodealliance / bytecodealliance/cargo-component

Confusing error if versions of local dependencies don't align

Open
#239 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
593
Forks
68
PR merge metrics
No merged PRs in 30d

Description

In a wit file I was referring to a dependency wit package but forgot to attach a version to it. Naturally, resolution failed as I don't have an unversioned package with that name listed as a dependency. However, this was very confusing as the configuration in Cargo.toml doesn't use a version (when the dependency is local). Perhaps, the resolver could search for packages with the same name and different version when building the error message?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.