cargo::ops::cargo_compile

Function compile

source
pub fn compile<'a>(
    ws: &Workspace<'a>,
    options: &CompileOptions,
) -> CargoResult<Compilation<'a>>
Expand description

Compiles!

This uses the DefaultExecutor. To use a custom Executor, see compile_with_exec.