We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af2473d commit 04c74beCopy full SHA for 04c74be
crates/snapbox/src/cmd.rs
@@ -851,6 +851,10 @@ pub use crate::cargo_bin;
851
/// Look up the path to a cargo-built binary within an integration test.
852
///
853
/// **NOTE:** Prefer [`cargo_bin!`] as this makes assumptions about cargo
854
+#[deprecated(
855
+ since = "0.6.23",
856
+ note = "incompatible with a custom cargo build-dir, see instead `cmd::cargo_bin!`"
857
+)]
858
pub fn cargo_bin(name: &str) -> std::path::PathBuf {
859
let file_name = format!("{}{}", name, std::env::consts::EXE_SUFFIX);
860
let target_dir = target_dir();
0 commit comments