commit | d1f21a518da6259761da0e31870c0910bfb767ee | [log] [tgz] |
---|---|---|
author | easoncylee <[email protected]> | Tue Jul 06 08:47:37 2021 +0000 |
committer | Automerger Merge Worker <[email protected]> | Tue Jul 06 08:47:37 2021 +0000 |
tree | 84c72c51a7e0fabdbf640685667a721048bdc2ad | |
parent | 3f00182ae337968fd9064d8f3cc770221386a82c [diff] | |
parent | 8c7b8009c7133d49c9c9f68a734e33b5b97baeb8 [diff] |
Update vpnprofilestore_test to legacykeystore_test in TEST_MAPPING am: 47e0a92988 am: c769d3270d am: 8c7b8009c7 Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/which/+/1756550 Change-Id: I2929a365c47a258231bb3c1ddbdddcf9f59bf449
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.