Function arret_compiler::find_arret_root [−][src]
pub fn find_arret_root(
arret_root_option: Option<&str>
) -> Result<PathBuf, FindArretRootError>
Attempts to find the path to Arret root directory
The search order is:
- The
arret_root_option
parameter - The
ARRET_ROOT
environment variable - The path this binary was originally built in and all of its parents
- The current directory and all of its parents