Skip to content

Switch to CfgExpr for target testing. #8333

Open
@ehuss

Description

@ehuss

The code here should not be testing on the target name, but instead should be using the cfg data to test the vendor/os/env fields.

There may be other places in the Cargo codebase that example the target triple that should probably also use cfg testing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-cargo-apiArea: cargo-the-library API and internal code issuesC-cleanupCategory: cleanup within the codebaseE-hardExperience: HardP-lowPriority: LowS-acceptedStatus: Issue or feature is accepted, and has a team member available to help mentor or review

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions