commit | 8b158cbe0d16d21ba9db5f9884b7c8a52abf8bc9 | [log] [tgz] |
---|---|---|
author | Joel Galenson <[email protected]> | Mon Aug 30 11:00:45 2021 -0700 |
committer | Joel Galenson <[email protected]> | Mon Aug 30 11:00:45 2021 -0700 |
tree | 5d9bc0f319f76406eb6c70c863eb9c03bcb5cb2d | |
parent | e85d2d1d33909dbff8be26b3c4ddaedeb7690c30 [diff] |
Update TEST_MAPPING Test: None Change-Id: I1b951b13efd354c3adf5d3b655dbf4e6ded5a3b9
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.