File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -102,7 +102,10 @@ where
102102 /// this method with [cross](https://github.com/cross-rs/cross), no extra configuration is
103103 /// needed.
104104 ///
105- /// **NOTE:** Prefer [`cargo_bin!`] as this makes assumptions about cargo
105+ /// Cargo support:
106+ /// - `>1.94`: works
107+ /// - `>=1.91,<=1.93: works with default `build-dir`
108+ /// - `<=1.92`: works
106109 ///
107110 /// # Examples
108111 ///
@@ -211,9 +214,12 @@ impl fmt::Display for NotFoundError {
211214 }
212215}
213216
214- /// Look up the path to a cargo-built binary within an integration test.
217+ /// Look up the path to a cargo-built binary within an integration test
215218///
216- /// **NOTE:** Prefer [`cargo_bin!`] as this makes assumptions about cargo
219+ /// Cargo support:
220+ /// - `>1.94`: works
221+ /// - `>=1.91,<=1.93: works with default `build-dir`
222+ /// - `<=1.92`: works
217223pub fn cargo_bin < S : AsRef < str > > ( name : S ) -> path:: PathBuf {
218224 cargo_bin_str ( name. as_ref ( ) )
219225}
Original file line number Diff line number Diff line change @@ -37,7 +37,10 @@ impl Command {
3737 ///
3838 /// See the [`cargo` module documentation][crate::cargo] for caveats and workarounds.
3939 ///
40- /// **NOTE:** Prefer [`cargo_bin!`][crate::cargo::cargo_bin!] as this makes assumptions about cargo
40+ /// Cargo support:
41+ /// - `>1.94`: works
42+ /// - `>=1.91,<=1.93: works with default `build-dir`
43+ /// - `<=1.92`: works
4144 ///
4245 /// # Examples
4346 ///
You can’t perform that action at this time.
0 commit comments