Module reuse_build

Source
Expand description

Reuse builds performed earlier.

Nextest allows users to reuse builds done on one machine. This module contains support for that.

The main data structures here are ReuseBuildInfo and PathMapper.

Structs§

ArchiveCounts
Counts of various types of files in an archive.
ArchiveReporter
Reporter for archive operations.
LibdirMapper
A mapper for lib dirs.
MetadataWithRemap
Metadata as either deserialized contents or a path, along with a possible directory remap.
PathMapper
A helper for path remapping.
ReuseBuildInfo
Reuse build information.
ReusedBinaryList
MetadataKind for a BinaryList.
ReusedCargoMetadata
MetadataKind for Cargo metadata.

Enums§

ArchiveEvent
An archive event.
ArchiveFormat
Archive format.
ArchiveStep
The part of the archive process that is currently in progress.
ExtractDestination
Where to extract a nextest archive to.

Constants§

BINARIES_METADATA_FILE_NAME
The name of the file in which binaries metadata is stored.
CARGO_METADATA_FILE_NAME
The name of the file in which Cargo metadata is stored.
LIBDIRS_BASE_DIR
The name of the directory in which libdirs are stored.

Traits§

MetadataKind
Type parameter for MetadataWithRemap.

Functions§

archive_to_file
Archives test binaries along with metadata to the given file.