Expand description
Re-exports§
pub use farm::install;pub use farm::InstallError;pub use farm::Installed;pub use farm::Status;
Modules§
- farm
- Toolchain shims (
cargo,cc,gcc,clang, …) ahead of the real programs onPATH.
Structs§
- Env
- Everything selection reads from the process.
- Frontend
Image - Frontend image captured before entering the engine.
- InodeId
- Filesystem-unique file identity.
- Layout
- Where the version managers keep their installs and dispatchers.
- RealFs
- Selection
- The path to record, and why.
Enums§
- Elevation
HOMEandPATHmay belong to another account.- Error
- Why no path could be selected.
- Kind
- The installer that placed the running binary, judged from its resolved path.
- Stability
- Whether the selected path is expected to keep working after an upgrade.
Traits§
Functions§
- compiler_
driver - compiler_
launcher_ driver - Native launchers for callers that require one executable in CC/CXX. Unlike target-prefixed compiler names, these aliases select a different executable basename on PATH.
- detect
selectfor the running process.- detect_
frontend - Select the frontend installed beside the running engine. Validate the running image before using its companion’s identity for alias selection.
- engine_
beside - The companion beside an already selected frontend path, retaining stable installer aliases such as Homebrew’s opt directory.
- engine_
for - Follow a compiler-name shim to its installation before finding the engine.
- frontend_
for - The frontend beside a named engine; other executables keep their identity. This also preserves unit-test executables and pinned build-script engines.
- is_
cc_ compiler_ name - A C-family name recognized without executing a compiler probe.
- is_
compiler_ shim_ name - Compiler-name shims have priority over CLI-looking compiler arguments.
- is_
executable_ file - A regular file with an execute bit (any regular file off Unix).
- resolve_
program_ on_ path_ with - running_
identity - Identity of the running image. On Linux
/proc/self/exereaches it even after the path was replaced; elsewhere this re-readscurrent_exe(), a present-time check. - select
- The path to record for
env.exe. - select_
frontend - Select a captured frontend while validating the running engine’s image.