pub fn build_runner(config: &AppConfig) -> Arc<dyn SandboxRunner> ⓘExpand description
Build the best available sandbox runner based on environment and platform.
Selection order:
- Explicit
UAR_SANDBOX_RUNNERenv var (wasmtime,remote) - Fallback: remote runner when
UAR_SANDBOX_REMOTE_URLis configured - Remote runner if
UAR_SANDBOX_REMOTE_URLis set - Wasmtime fallback (process-based, limited isolation)