Skip to main content

kache_shims/
lib.rs

1//! Upgrade-safe paths to an installed binary ([`select`], [`detect`]) and the
2//! compiler-name shim farms that point at it ([`farm`]).
3
4mod companion;
5pub mod farm;
6pub use companion::{FrontendImage, engine_beside, engine_for, frontend_for};
7mod fs;
8mod program;
9mod select;
10pub use program::resolve_program_on_path_with;
11
12#[cfg(unix)]
13pub use farm::install;
14pub use farm::{InstallError, Installed, Status};
15pub use fs::{Fs, RealFs, is_executable_file};
16pub use kache_fs::InodeId;
17pub use select::{
18    Elevation, Env, Error, Kind, Layout, Selection, Stability, detect, detect_frontend,
19    running_identity, select, select_frontend,
20};
21
22mod compiler_name;
23pub use compiler_name::{
24    compiler_driver, compiler_launcher_driver, is_cc_compiler_name, is_compiler_shim_name,
25};