tag | 2f367c184a802e8d27a51d3059b9690f7836c6a5 | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Wed May 08 00:02:49 2024 -0700 |
object | a8650a5fac2a1639107016b2e5891bdc3eddf76a |
Android CTS 12.0 Release 12 (11678785)
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.