cargo::core::compiler

Function rustc

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

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