tag | b5aee581d04177d4773001aefdeb277e56105cf2 | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Wed Feb 09 15:54:14 2022 -0800 |
object | 4be8607c6294ac1430edb4a2f42563dae5130239 |
Android S V2 Beta 3
commit | 4be8607c6294ac1430edb4a2f42563dae5130239 | [log] [tgz] |
---|---|---|
author | Joel Galenson <jgalenson@google.com> | Wed Dec 15 15:28:00 2021 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Wed Dec 15 15:28:00 2021 +0000 |
tree | 2ea0e76815a667dd8445edec8840f25fd980fc12 | |
parent | 2a37e1776d5a5987fd0e7e1380abf2cd86ab2fa8 [diff] | |
parent | b434f32a5180c78f857a98eee7174a1dfeb7f829 [diff] |
Merge "Refresh Android.bp, cargo2android.json, TEST_MAPPING."
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.