Within a multi-crate workspace, how can a crate's integration tests require and run another crate's exectuable target, rather than its library target?
Here's the workspace structure:
workspace/
├── rillmere_probe/
│ └── tests/check.rs
└── rillmere_exec/
├── src/lib.rs
└── src/main.rs
The rillmere_probe crate lists rillmere_exec as a dev-dependency. Its tests also need to launch rillmere_exec's binary. Previously this worked fine. However, the build-layout-v2 change in rust-nightly rearranged things, leaving assert_cmd-2.1.3 unable to locate rillmere_exec's executable target. The diagnostic from assert_cmd-2.2.2 is clearer: CARGO_BIN_EXE_rillmere_exec is unset. Reading that makes me wonder whether assert_cmd supports this situation at all. I can't imagine nobody else has run into it. Has anyone found a solution?