tag | ad4af1b12328700198aa85e03464cc0afd7034e7 | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Wed Mar 09 15:36:26 2022 -0800 |
object | 4be8607c6294ac1430edb4a2f42563dae5130239 |
Android S QPR3 Beta 1 (S3B1.220218.004)
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.