tag | 7261f5d01adee5998bb82f6dbdb8b8274bf7413a | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Mon Sep 21 17:00:14 2020 -0700 |
object | b3ac086aa76acd9883b34873b05c58d2b471d4f8 |
Platform Tools Release 30.0.4 (6686687)
commit | b3ac086aa76acd9883b34873b05c58d2b471d4f8 | [log] [tgz] |
---|---|---|
author | android-build-prod (mdb) <android-build-team-robot@google.com> | Thu Jul 16 21:24:18 2020 +0000 |
committer | android-build-prod (mdb) <android-build-team-robot@google.com> | Thu Jul 16 21:24:18 2020 +0000 |
tree | 6a70b20b99ff51d93896380d942ea1628c1ad441 | |
parent | d5677b685c5c94e7e9f26cb5b26b027416f14a1c [diff] | |
parent | 8b6eb89f36d32d6c35dea1710c284856b67b9293 [diff] |
Snap for 6686656 from 8b6eb89f36d32d6c35dea1710c284856b67b9293 to sdk-release Change-Id: I8f3b89d546fc0408766b2fc2f4e468ed2736ae0e
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.