tag | 6f52b78568671d126c123e3d642e80319c94bd9b | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Tue Jul 14 15:06:38 2020 -0700 |
object | b60ac1dde705efe27f1f0feab5d2177fe82d1268 |
Android R Beta 2
commit | b60ac1dde705efe27f1f0feab5d2177fe82d1268 | [log] [tgz] |
---|---|---|
author | Chih-Hung Hsieh <chh@google.com> | Sun Jul 12 14:51:23 2020 -0700 |
committer | Chih-Hung Hsieh <chh@google.com> | Mon Jul 13 15:59:31 2020 -0700 |
tree | 844649699e4092fd4c7d82797ee826d45e579c01 | |
parent | 04f52bafb378c9ff04c70e2526a8ee33fe910d5f [diff] |
Regenerate Android.bp with new cargo2android.py Test: make Change-Id: I0f32c9683b5bba45e42c3a37c95f03983765231f
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"));
By default this crate exposes a failure
based error. This is optional, disable the default features to get an error type implementing the standard library Error
trait.
The documentation is available online.