fn create_bolt_output_path(
    builder: &Builder<'_>,
    file: &Path,
    hash: &str
) -> PathBuf
Expand description

Creates an output path to a BOLT-manipulated artifact for the given file. The hash of the file is used to make sure that we don’t mix BOLT artifacts amongst different files with the same name.

We need to keep the file-name the same though, to make sure that copying the manipulated file to a directory will not change the final file path.