Skip to main content

Module rust_project

Module rust_project 

Source
Expand description

Cargo workspace discovery and isolated owned-Rust frontend preparation.

Structs§

PreparedRustProject
RustPreparationTimings
Where preparing the instrumented workspace spent its time, for SUPERCOV_PHASE_TIMING=1.

Enums§

RustProjectError

Functions§

compiled_source_files
The workspace sources the build actually read, from the depinfo rustc writes beside every artifact (<artifact>.d: a make rule whose prerequisites are every file that went into it). None when no depinfo could be read, which means “do not prune”.
manifest_token
prepare_rust_project
prepare_rust_project_for
prepare_rust_project for a build whose target cfg values are known: items its #[cfg(..)] leaves uncompiled are not measured.