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)>