cargo-all-features icon indicating copy to clipboard operation
cargo-all-features copied to clipboard

Tests rely on deprecated `assert_cmd::cargo_bin` which will break on future Cargo versions

Open epage opened this issue 1 month ago • 0 comments

https://github.com/frewsxcv/cargo-all-features/blob/fecea3756709451a71a450f16f70c100f2adf47b/tests/settings.rs#L332

cargo_bin relies on implementation details of cargo that will soon break (rust-lang/cargo#16147, rust-lang/cargo#15010).

You can test this by running:

CARGO_BUILD_BUILD_DIR="{cargo-cache-home}/build/{workspace-path-hash}" cargo test

The replacement is assert_cmd::cargo_bin!

epage avatar Dec 18 '25 21:12 epage