cargo::ops::cargo_install

Function make_ws_rustc_target

source
fn make_ws_rustc_target<'gctx>(
    gctx: &'gctx GlobalContext,
    opts: &CompileOptions,
    source_id: &SourceId,
    pkg: Package,
    lockfile_path: Option<&Path>,
) -> CargoResult<(Workspace<'gctx>, Rustc, String)>