Function cargo::core::compiler::rustc

source ·
fn rustc(
    cx: &mut Context<'_, '_>,
    unit: &Unit,
    exec: &Arc<dyn Executor>
) -> CargoResult<Work>
Expand description

Creates a unit of work invoking rustc for building the unit.