pub struct RustBuildMetaSummary {
pub target_directory: Utf8PathBuf,
pub build_directory: Option<Utf8PathBuf>,
pub base_output_directories: BTreeSet<Utf8PathBuf>,
pub non_test_binaries: BTreeMap<String, BTreeSet<RustNonTestBinarySummary>>,
pub build_script_out_dirs: BTreeMap<String, Utf8PathBuf>,
pub build_script_info: Option<BTreeMap<String, BuildScriptInfoSummary>>,
pub linked_paths: BTreeSet<Utf8PathBuf>,
pub platforms: Option<BuildPlatformsSummary>,
pub target_platforms: Vec<PlatformSummary>,
pub target_platform: Option<String>,
}Expand description
Rust metadata used for builds and test runs.
Fields§
§target_directory: Utf8PathBufThe target directory for Rust artifacts.
build_directory: Option<Utf8PathBuf>The build directory for intermediate Cargo artifacts (test binaries,
build script outputs, etc.). When Cargo’s build.build-dir is
configured, this differs from target_directory. Otherwise it equals
target_directory.
Absent in archives and metadata from older nextest versions (pre-0.9.131),
in which case consumers should treat it as equal to target_directory.
Added in cargo-nextest 0.9.131.
base_output_directories: BTreeSet<Utf8PathBuf>Base output directories, relative to the build directory.
non_test_binaries: BTreeMap<String, BTreeSet<RustNonTestBinarySummary>>Information about non-test binaries, keyed by package ID.
build_script_out_dirs: BTreeMap<String, Utf8PathBuf>Build script output directory, relative to the build directory and keyed by package ID. Only present for workspace packages that have build scripts.
Added in cargo-nextest 0.9.65.
build_script_info: Option<BTreeMap<String, BuildScriptInfoSummary>>Extended build script information, keyed by package ID. Only present for workspace packages that have build scripts.
None means this field was absent (old archive/metadata that predates this field).
Some(map) means the field was present, even if the map is empty.
Added in cargo-nextest 0.9.131.
linked_paths: BTreeSet<Utf8PathBuf>Linked paths, relative to the build directory.
platforms: Option<BuildPlatformsSummary>The build platforms used while compiling the Rust artifacts.
Added in cargo-nextest 0.9.72.
target_platforms: Vec<PlatformSummary>The target platforms used while compiling the Rust artifacts.
Deprecated in favor of Self::platforms; use that if available.
target_platform: Option<String>A deprecated form of the target platform used for cross-compilation, if any.
Deprecated in favor of (in order) Self::platforms and Self::target_platforms; use
those if available.
Trait Implementations§
Source§impl Clone for RustBuildMetaSummary
impl Clone for RustBuildMetaSummary
Source§fn clone(&self) -> RustBuildMetaSummary
fn clone(&self) -> RustBuildMetaSummary
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more