tag | 5068771688906ae353b2c9b665fdb4355df8e917 | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Thu Apr 15 11:00:01 2021 -0700 |
object | 9c1559ab9b6f4ca1f9cb16cd118b31557632c05e |
Platform Tools Release 31.0.1 (7187441)
commit | 9c1559ab9b6f4ca1f9cb16cd118b31557632c05e | [log] [tgz] |
---|---|---|
author | android-build-prod (mdb) <android-build-team-robot@google.com> | Thu Mar 04 00:39:54 2021 +0000 |
committer | android-build-prod (mdb) <android-build-team-robot@google.com> | Thu Mar 04 00:39:54 2021 +0000 |
tree | f25debd1f0219119220213160317f9cfc4168432 | |
parent | 2e7fea37c9720b55687cc4cc2701d51a21a285c4 [diff] | |
parent | eaca4d18d27d7fa54182f1cd91849bddca42db92 [diff] |
Snap for 7183507 from eaca4d18d27d7fa54182f1cd91849bddca42db92 to sdk-release Change-Id: I30e2b2da9ed5fa240f487354fc36c6686690a778
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.