Skip to main content

container_executor

Function container_executor 

Source
pub fn container_executor() -> Option<Arc<dyn ContainerBuildExecutor>>
Expand description

The currently registered container build executor, if any.

None means the runtime layer has not registered one — callers needing a containerized build must then return crate::error::ToolchainError::ExecutorUnavailable, never fall back to a host subprocess. Poison-tolerant for the same reason as set_container_executor.