tag | 015619e9af005cb016ca91db37dcd582a7e9c0dc | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Tue Dec 07 10:59:55 2021 -0800 |
object | a8650a5fac2a1639107016b2e5891bdc3eddf76a |
Android platform 12.0.0 release 2
commit | a8650a5fac2a1639107016b2e5891bdc3eddf76a | [log] [tgz] |
---|---|---|
author | android-build-team Robot <android-build-team-robot@google.com> | Wed Apr 14 01:06:05 2021 +0000 |
committer | android-build-team Robot <android-build-team-robot@google.com> | Wed Apr 14 01:06:05 2021 +0000 |
tree | cc218f809b980499efdc11c0902cd6c3b2637ab4 | |
parent | 536e5402863a3c8460ab9d57b1fc51c7584d16b4 [diff] | |
parent | 3f00182ae337968fd9064d8f3cc770221386a82c [diff] |
Snap for 7280565 from 3f00182ae337968fd9064d8f3cc770221386a82c to sc-release Change-Id: Icbbdb5bfa8dc6e720032bceb921f1e3cab03cb22
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.