Update vpnprofilestore_test to legacykeystore_test in TEST_MAPPING am: 47e0a92988 am: c769d3270d am: 8c7b8009c7 am: d1f21a518d

Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/which/+/1756550

Change-Id: I7337415f9aadcef8931570ef698d3158c0a2d08b
tree: 84c72c51a7e0fabdbf640685667a721048bdc2ad
  1. .github/
  2. src/
  3. tests/
  4. .cargo_vcs_info.json
  5. .gitignore
  6. Android.bp
  7. Cargo.toml
  8. Cargo.toml.orig
  9. LICENSE.txt
  10. METADATA
  11. MODULE_LICENSE_MIT
  12. OWNERS
  13. README.md
  14. TEST_MAPPING
README.md

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

Documentation

The documentation is available online.