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:

  1. The arret_root_option parameter
  2. The ARRET_ROOT environment variable
  3. The path this binary was originally built in and all of its parents
  4. The current directory and all of its parents