Function cargo::ops::compile_with_exec [−][src]
pub fn compile_with_exec<'a>(
ws: &Workspace<'a>,
options: &CompileOptions<'a>,
exec: &Arc<dyn Executor>
) -> CargoResult<Compilation<'a>>
Like compile
but allows specifying a custom Executor
that will be able to intercept build
calls and add custom logic. compile
uses DefaultExecutor
which just passes calls through.