Function profiler::cargo::find_target [] [src]

pub fn find_target() -> Option<PathBuf>

Returns the closest ancestor path containing a target directory.

Returns None if no ancestor path contains a target directory, or if the limit of MAX_ANCESTORS ancestors has been reached.