pub fn canonicalize(path: &Path) -> Result<PathBuf>
Canonicalize a path through the host filesystem.
Prefer a confined resolver for untrusted relative paths.
Returns a contextual error when the path cannot be resolved.