cargo::util::lints

Function rel_cwd_manifest_path

source
pub fn rel_cwd_manifest_path(path: &Path, gctx: &GlobalContext) -> String
Expand description

Gets the relative path to a manifest from the current working directory, or the absolute path of the manifest if a relative path cannot be constructed