mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-28 11:20:36 +00:00

If a package had both bin and lib deps, `cargo test` was not building the `lib` dependency when building the bins with `--test`. This commit adds an extra "test" profile (not compiled with --test) for situations such as this which is filtered out normally but kept around for the `cargo test` case.