commit | a5966aef26c201a8e126b909897037f6a0819486 | [log] [tgz] |
---|---|---|
author | easoncylee <[email protected]> | Tue Jul 06 08:57:36 2021 +0000 |
committer | Automerger Merge Worker <[email protected]> | Tue Jul 06 08:57:36 2021 +0000 |
tree | 84c72c51a7e0fabdbf640685667a721048bdc2ad | |
parent | 9ce2b44c033788fabdc5a51d845d43b27c856f79 [diff] | |
parent | d1f21a518da6259761da0e31870c0910bfb767ee [diff] |
Update vpnprofilestore_test to legacykeystore_test in TEST_MAPPING am: 47e0a92988 am: c769d3270d am: 8c7b8009c7 am: d1f21a518d Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/which/+/1756550 Change-Id: I7337415f9aadcef8931570ef698d3158c0a2d08b
A Rust equivalent of Unix command “which”. Locate installed executable in cross platforms.
To find which rustc exectable binary is using.
use which::which; let result = which::which("rustc").unwrap(); assert_eq!(result, PathBuf::from("/usr/bin/rustc"));
The documentation is available online.