/// 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.
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.
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 .
pub fn compile_with_exec<'a>(
    ws: &Workspace<'a>,
    options: &CompileOptions<'a>,
    exec: &Arc<dyn Executor>,
) -> CargoResult<Compilation<'a>> {
    ws.emit_warnings()?;
    compile_ws(ws, options, exec)
}
pub fn compile_with_exec < ' a > ( ws : & Workspace < ' a > , options : & CompileOptions < ' a > , exec : & Arc < dyn Executor > , ) -> CargoResult < Compilation < ' a > > { ws . emit_warnings ( ) ? ; compile_ws ( ws , options , exec ) }
Like `compile` but allows specifying a custom `Executor` that will be able to intercept build
calls and add custom logic.
Like ` compile ` but allows specifying a custom ` Executor ` that will be able to intercept build calls and add custom logic .
ws
&Workspace<'a>
options
&CompileOptions<'a>
exec
&Arc<dyn Executor>