v2 resolver: proc macros specified in initials participate in feature resolution for both target and host #8312
Labels
A-features2
Area: issues specifically related to the v2 feature resolver
C-bug
Category: bug
S-triage
Status: This issue is waiting on initial triage.
Problem
I'm writing some tests with
cargo-guppy
+ the v2 resolver, and it appears that currently, proc macros specified in the initial set participate in feature resolution for the host, not just the target platform.Steps
Test workspace is here.
Note these two lines from the output:
Note that
external
is built twice:macro-normal-feature
is included. This shouldn't be because proc macros are built on the host only, not the target.Notes
Output of
cargo version
:Also reproduces with 15bb455, which is the pinned version here.
This can also be reproduced with the
cargo-compare
tool checked into the repo. Check out my test branch https://github.com/sunshowers/cargo-guppy/tree/cargo-compare-fix, then run:cc @ehuss
The text was updated successfully, but these errors were encountered: