|
let mut cmd = Command::cargo_bin("cargo-codspeed").unwrap(); |
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!