Skip to main content

worker_asset_extract

Function worker_asset_extract 

Source
pub fn worker_asset_extract(dir: &Path) -> Result<PathBuf>
Expand description

Extract the embedded worker script into dir. Returns the script path; IO failures (full disk, read-only temp dir) are returned, never panicked — the shipped boot-smoke path calls this on a real filesystem.