commit | 915d915d5dad3bab02113aad69e62f43bd0b75d1 | [log] [tgz] |
---|---|---|
author | Joel Galenson <[email protected]> | Mon Aug 30 20:51:55 2021 +0000 |
committer | Automerger Merge Worker <[email protected]> | Mon Aug 30 20:51:55 2021 +0000 |
tree | 5d9bc0f319f76406eb6c70c863eb9c03bcb5cb2d | |
parent | 89dcd783cd31afb06437fd433a24ada37119bc38 [diff] | |
parent | 8b158cbe0d16d21ba9db5f9884b7c8a52abf8bc9 [diff] |
Update TEST_MAPPING am: 8b158cbe0d Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/which/+/1813685 Change-Id: I577885d37c55b1bd4990b0b569b347e27d97a225
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.