download_libraries

Function download_libraries 

Source
pub fn download_libraries(thirdparty_dir: &Path, names: &[&str]) -> Result<()>
Expand description

Downloads source for the given libraries into thirdparty/.

When names is empty all libraries are downloaded. Tarballs are extracted with the top-level directory stripped. Libraries with a LibrarySource::Git source are cloned with --recurse-submodules so submodule contents are always present.

Skips libraries with persisted marker files:

This avoids fragile file-heuristic detection across heterogeneous upstream source trees.

ยงErrors

Returns an error if any download, extraction, or clone fails.