Look up the path to a cargo-built binary within an integration test Cargo support: - `>1.94`: works - `>=1.91,<=1.93`: works with default `build-dir` - `<=1.92`: works # Panic Panicks if no binary is found
(name: S)
| 229 | /// |
| 230 | /// Panicks if no binary is found |
| 231 | pub fn cargo_bin<S: AsRef<str>>(name: S) -> path::PathBuf { |
| 232 | cargo_bin_str(name.as_ref()) |
| 233 | } |
| 234 | |
| 235 | #[track_caller] |
| 236 | fn cargo_bin_str(name: &str) -> path::PathBuf { |