Skip to main content

build_sibling_binary

Function build_sibling_binary 

Source
pub fn build_sibling_binary(
    repo: &Path,
    sibling: &str,
    bin: &str,
    dependency_checkouts: &[&str],
) -> PathBuf
Expand description

Build a sibling using a cache key derived from its current source revision and caller-selected adjacent dependency checkouts. The same dependency names are checked again after compilation to reject sources changed during the build.