Skip to main content

build

Function build 

Source
pub fn build(manifest_path: &Path) -> Result<Build, Error>
Expand description

Reads the manifest at manifest_path, applies its patches and rules to the upstream sources, and returns the files to write and every change made. Nothing is written to disk.

ยงErrors

Returns an error if the manifest, a patch file or a source cannot be read or parsed, if the manifest names an unknown rule, if a patch operation fails, or if a patch target does not match exactly one resource.