Function cargo::ops::compile_with_exec
source · [−]pub fn compile_with_exec<'a>(
ws: &Workspace<'a>,
options: &CompileOptions,
exec: &Arc<dyn Executor>
) -> CargoResult<Compilation<'a>>
Expand description
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.