Skip to content

Avoid weaker comparison for targets in run_cargo #3111

@adpaco-aws

Description

@adpaco-aws

Proposed change: We should revisit the same_target check in run_cargo after a while to see if it's not needed anymore or it can be restricted to certain cases. This newer check was introduced in #3102 during a toolchain upgrade.

Motivation: The previous comparison was rustc_artifact == *target, but it started to fail in some cases after the cargo change in rust-lang/cargo#12783.

Metadata

Metadata

Assignees

No one assigned

    Labels

    [C] InternalTracks some internal work. I.e.: Users should not be affected.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions