Function nextest_runner::reuse_build::archive_to_file

source ยท
pub fn archive_to_file<'a, F>(
    profile: EvaluatableProfile<'a>,
    binary_list: &'a BinaryList,
    cargo_metadata: &'a str,
    graph: &'a PackageGraph,
    path_mapper: &'a PathMapper,
    format: ArchiveFormat,
    zstd_level: i32,
    output_file: &'a Utf8Path,
    callback: F,
    redactor: Redactor,
) -> Result<(), ArchiveCreateError>
where F: for<'b> FnMut(ArchiveEvent<'b>) -> Result<()>,
Expand description

Archives test binaries along with metadata to the given file.

The output file is a Zstandard-compressed tarball (.tar.zst).