Add the test
cfg as a well known cfg before of compiler change by Urgau · Pull Request #14963 · rust-lang/cargo (original) (raw)
What does this PR try to resolve?
This PR adds the test
cfg as a well known Cargo cfg as rust-lang/compiler-team#785 is now in FCP and before the compiler change.
How should we test and review this PR?
Look at the new argument passed and the test changes.
Additional information
Detailed motivation at rust-lang/compiler-team#785, but summary test
is a weird well known cfg for rustc
as it's mostly a convention and build system like Cargo may to set it conditionally (lib.test = false
for Cargo, not done in this PR).
Pre-require to rust-lang/rust#131729.
r? @epage