Switch to CfgExpr for target testing. #8333
Labels
A-cargo-api
Area: cargo-the-library API and internal code issues
C-cleanup
Category: cleanup within the codebase
E-hard
Experience: Hard
P-low
Priority: Low
S-accepted
Status: Issue or feature is accepted, and has a team member available to help mentor or review
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.The text was updated successfully, but these errors were encountered: