tag | fa13c87aaa018c7a7557f28315e3ffd91274bfe3 | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Sat Jan 29 03:38:56 2022 -0800 |
object | 4fe7fd20a6faf6401767d7ab11039aede1ce6b0b |
Android Mainline 12.0.0 Release 36 (7653768,com.google.android.scheduling)
commit | 4fe7fd20a6faf6401767d7ab11039aede1ce6b0b | [log] [tgz] |
---|---|---|
author | android-build-team Robot <android-build-team-robot@google.com> | Wed Apr 21 22:30:41 2021 +0000 |
committer | android-build-team Robot <android-build-team-robot@google.com> | Wed Apr 21 22:30:41 2021 +0000 |
tree | cc218f809b980499efdc11c0902cd6c3b2637ab4 | |
parent | 4c33ad87118132f509afc490d9f9e554b16e8741 [diff] | |
parent | 3f00182ae337968fd9064d8f3cc770221386a82c [diff] |
Snap for 7302986 from 3f00182ae337968fd9064d8f3cc770221386a82c to sc-mainline-release Change-Id: Ia4758380185f21b32076120977c8a6e6dcf34bb5
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.