Thanks! It seems to work properly in my virtual workspace (for a no_std OS project).
However, I can’t figure out how to specify features for multiple packages within my workspace. For example, I’d like to do the following:
cargo build -Z package-features --package crate1 --feature featA --package crate2 --feature featB
This gives me the error:
error: The argument '--features <FEATURES>' was provided more than once, but cannot be used multiple times
or if I try to enable the same feature for multiple packages, like so:
cargo build -Z package-features --package crate1 --package crate2 --feature myfeat
I get the error:
error: cannot specify features for more than one package
I assume there’s a way to do this, but it’s not clear from the new package-features discussion.