commit | e85d2d1d33909dbff8be26b3c4ddaedeb7690c30 | [log] [tgz] |
---|---|---|
author | Joel Galenson <[email protected]> | Mon Aug 23 11:00:03 2021 -0700 |
committer | Joel Galenson <[email protected]> | Mon Aug 23 11:00:03 2021 -0700 |
tree | 0cea581b7dd011a03558f596e137671c67be5e45 | |
parent | 9e4f7ef0370b6701ac0afbf3c12a2ecaaa6cb439 [diff] |
Update TEST_MAPPING Test: None Change-Id: Ieed5080d7732fe087fb26c3dab2532513cdee443
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.