tag | caa05df8b1efc5e5d9b41077f5fea38226c9b978 | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Wed Nov 04 12:14:44 2020 -0800 |
object | fb888b1aa439e214a4001f0dfaf78afb4f373769 |
Platform Tools Release 30.0.5 (6877874)
commit | fb888b1aa439e214a4001f0dfaf78afb4f373769 | [log] [tgz] |
---|---|---|
author | android-build-prod (mdb) <android-build-team-robot@google.com> | Thu Oct 01 20:27:31 2020 +0000 |
committer | android-build-prod (mdb) <android-build-team-robot@google.com> | Thu Oct 01 20:27:31 2020 +0000 |
tree | 8950b023a47cbecb9f23a752bfcb21df1915e309 | |
parent | b3ac086aa76acd9883b34873b05c58d2b471d4f8 [diff] | |
parent | dd49be57fad4e5af7310a9f8506c1e804e258a4b [diff] |
Snap for 6877830 from dd49be57fad4e5af7310a9f8506c1e804e258a4b to sdk-release Change-Id: I7d3a77030e2c7c9daa6fcd891d7ac4e40794254a
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.