Skip to main content

stable_executable_dir

Function stable_executable_dir 

Source
pub fn stable_executable_dir(files: &[(&str, &[u8])]) -> PathBuf
Expand description

Immutable content-addressed fake executables shared across processes. Do not modify or delete the returned directory. Each complete file is copied by a child and atomically renamed, so concurrent readers never see a partial write.