Skip to main content

cargo_home_for

Function cargo_home_for 

Source
pub fn cargo_home_for(into: &Path) -> Result<PathBuf, String>
Expand description

The directory the installer will fill, for a shelf source.

The installer writes $CARGO_HOME/bin, so the target has to be a directory called bin; its parent is what the installer is told.

ยงErrors

Names the directory when it is not a bin.