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

cargo metadata supports artifact dependencies #11550

Merged
merged 5 commits into from
Jan 16, 2023

Commits on Jan 16, 2023

  1. Configuration menu
    Copy the full SHA
    ca626c5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e5ec492 View commit details
    Browse the repository at this point in the history
  3. cargo-metadata: error out when encountering invalid artifact kind syntax

    This refactor reuse the logic of
    `core::compiler::unit_dependencies::match_artifacts_kind_with_targets`
    to emit error if there is any syntax error in `ArtifactKind`.
    
    It also put `match_artifacts_kind_with_targets` to a better place `core::compiler::artifact`.
    weihanglo committed Jan 16, 2023
    Configuration menu
    Copy the full SHA
    272193a View commit details
    Browse the repository at this point in the history
  4. cargo-metadata: error out if same dep with differnt names

    Previous, `cargo metadata` allows a dependency with different renamed
    co-exist. However, its `resolve.nodes.deps` will miss that dependency,
    which is wrong. After this commit, `cargo metadata starts erroring out
    for that situation.
    weihanglo committed Jan 16, 2023
    Configuration menu
    Copy the full SHA
    690e6a4 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d02e36c View commit details
    Browse the repository at this point in the history