We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f37a0d4 commit f3d12edCopy full SHA for f3d12ed
text/0000-metabuild.mdwn
@@ -92,7 +92,10 @@ requiring a sufficiently new version of Cargo to understand `metabuild`.
92
93
If any of the strings mentioned in `metabuild` do not match one of the
94
build-dependencies, Cargo should produce an error (*before* attempting to
95
-generate and compile a `build.rs` script).
+generate and compile a `build.rs` script). However, if a string matches a
96
+conditional build-dependency, such as one conditional on a feature or target,
97
+then Cargo should only invoke that build-dependency's `metabuild` function when
98
+those conditions apply.
99
100
Cargo's documentation on `metabuild` should recommend a preferred crate for
101
parsing data from `Cargo.toml`, to avoid every provider of a metabuild function
0 commit comments