Skip to main content

kernel_source_stamp

Function kernel_source_stamp 

Source
pub fn kernel_source_stamp() -> Option<&'static str>
Expand description

This build’s identity for PartsLibraryEntry::snapshot_producer: the hash of production source files that build.rs computes across the kernel family. Whole files proven private test-only by the exporter do not invalidate saved snapshots or nested rows. All bytes in retained files (including inline tests) and every default-off feature module still contribute. None when the build could not compute it, which disables stale-snapshot invalidation rather than making every snapshot look stale on every run.