Android Mainline 12.0.0 Release 36 (7653768,com.google.android.scheduling)
Snap for 7302986 from 3f00182ae337968fd9064d8f3cc770221386a82c to sc-mainline-release

Change-Id: Ia4758380185f21b32076120977c8a6e6dcf34bb5
tree: cc218f809b980499efdc11c0902cd6c3b2637ab4
  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.