You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`pkg-config` depends on a variety of environment variables to inform
itself on where to look information about the libraries requested. By
default the crate has chosen to not inform `cargo` about these
variables, leading to problems that usually arise from `cargo` having
incomplete understanding of the dependency information.
In particular, changing `PKG_CONFIG_PATH` variable would more likely
than not fail to rebuild various dependencies that discover their
linkage information via `pkg-config`. This behaviour is confusing.
Developers will generally not fiddle with these environment variables
however, leading to most of the crate ecosystem not setting
`env_metadata` to `true`.
This commit adjusts the default for `env_metadata` to `true` to achieve
the "correct" behaviour in the typical case. This should not actively
break any users and maybe only result in `cargo` rebuilding crates
unnecessarily in very obscure corner cases.
0 commit comments