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
When configuring build.target in ~/.cargo/config.toml or via CARGO_BUILD_TARGET cargo will default to implying --target $CARGO_BUILD_TARGET for all commands, including the cargo metadata call performed by cargo vet. This means that dependencies that are not active for the set target will not be checked.
If it's configured through the environment like I do, it could just be unset on the sub-process call. If it's configured through the config file AFAIK there is no way to say "use the default all targets".
When configuring
build.target
in~/.cargo/config.toml
or viaCARGO_BUILD_TARGET
cargo will default to implying--target $CARGO_BUILD_TARGET
for all commands, including thecargo metadata
call performed bycargo vet
. This means that dependencies that are not active for the set target will not be checked.This may be an upstream bug, I don't think
build.target
should imply--filter-platform
oncargo metadata
, but I'm not positive.The text was updated successfully, but these errors were encountered: