Skip to main content

check_generated

Function check_generated 

Source
pub fn check_generated(root: &Path) -> Result<(), String>
Expand description

Fail if anything generated is missing, stale, or was edited by hand.

Run in CI: a hand-edited generated file survives review far too easily, and a stale one means the manifest and the build disagree.