Home
last modified time | relevance | path

Searched refs:mk_bin (Results 1 – 1 of 1) sorted by relevance

/external/rust/crates/which/tests/
Dbasic.rs24 fn mk_bin(dir: &Path, path: &str, extension: &str) -> io::Result<PathBuf> { in mk_bin() function
41 fn mk_bin(dir: &Path, path: &str, extension: &str) -> io::Result<PathBuf> { in mk_bin() function
64 bins.push(mk_bin(&p, &BIN_NAME, "").unwrap()); in new()
65 bins.push(mk_bin(&p, &BIN_NAME, "exe").unwrap()); in new()
66 bins.push(mk_bin(&p, &BIN_NAME, "cmd").unwrap()); in new()
81 pub fn mk_bin(&self, path: &str, extension: &str) -> io::Result<PathBuf> { in mk_bin() method
82 mk_bin(self.tempdir.path(), &path, &extension) in mk_bin()
153 let b = f.mk_bin("b/another", env::consts::EXE_EXTENSION).unwrap(); in test_which_second()