pub fn library_path_env(sd_cli: &Path) -> Option<(&'static str, PathBuf)>Expand description
If a stable-diffusion shared library sits next to sd_cli, return
the (env-var, dir) the per-job Command must set so the dynamic
linker finds it. Returns None on Windows (sibling DLLs resolve
automatically) and when no sibling library is present (e.g. an
operator’s wrapper-script install manages its own load path).