Android R Beta 2
Regenerate Android.bp with new cargo2android.py

Test: make
Change-Id: I0f32c9683b5bba45e42c3a37c95f03983765231f
1 file changed
tree: 844649699e4092fd4c7d82797ee826d45e579c01
  1. src/
  2. tests/
  3. .cargo_vcs_info.json
  4. .gitignore
  5. .travis.yml
  6. Android.bp
  7. appveyor.yml
  8. Cargo.toml
  9. Cargo.toml.orig
  10. LICENSE.txt
  11. METADATA
  12. MODULE_LICENSE_BSD_LIKE
  13. OWNERS
  14. README.md
README.md

Travis Build Status Appveyor Build status

which

A Rust equivalent of Unix command “which”. Locate installed executable in cross platforms.

Support platforms

  • Linux
  • Windows
  • macOS

Example

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"));

Errors

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.

Documentation

The documentation is available online.