tag | 0660b92551a47abd75671bc3b39f17a25e2c46d4 | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Wed Jun 08 00:45:18 2022 -0700 |
object | e19c8c561565fcf1fec05e94aefa07728f69409a |
Android Mainline 12.0.0 Release 114 (8445382,com.google.android.wifi)
commit | e19c8c561565fcf1fec05e94aefa07728f69409a | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Mon Apr 12 23:44:53 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Mon Apr 12 23:44:53 2021 +0000 |
tree | cc218f809b980499efdc11c0902cd6c3b2637ab4 | |
parent | 559ea10b606b180a8075ba05db87e4d19465a75c [diff] | |
parent | 3f00182ae337968fd9064d8f3cc770221386a82c [diff] |
Upgrade rust/crates/which to 4.1.0 am: d7bcf43786 am: b904996c6a am: 385a96330e am: 3f00182ae3 Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/which/+/1662641 Change-Id: I9f44939ec21047471cce37b8613c512767bf8c8e
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.