Skip to main content

Module build_cache

Module build_cache 

Source
Expand description

Content-addressed cache for native build outputs.

Cargo assigns a different OUT_DIR to each profile and target identity. Native CUDA outputs are substantially more expensive than the Rust leaf that caused the profile change, so the build script uses this cache to move only signature-identical artifacts across those boundaries.

Structs§

NativeBuildArtifactCache
NativeBuildArtifactCacheManifest
NativeBuildArtifactCacheReceipt
NativeBuildArtifactSpec

Enums§

NativeBuildArtifactCacheError
NativeBuildArtifactLookup

Constants§

NATIVE_BUILD_ARTIFACT_CACHE_SCHEMA_VERSION

Functions§

legacy_signature_matches_without_numeric_line
Accept a legacy signature only when removing one obsolete numeric field makes every remaining line exactly equal to the canonical signature.