Skip to main content

set_data_base_dir

Function set_data_base_dir 

Source
pub fn set_data_base_dir(dir: Option<PathBuf>) -> Option<PathBuf>
Expand description

Set the base directory relative data-file paths resolve against (the workload’s own directory). Returns the previous value so the caller can restore it — compiles nest. The compile entry points bracket their (synchronous) body with this; concurrent compiles on different threads keep independent values.