pub fn write(root: &Path, content: bool) -> Result<(), String>
Writes the generated root when the mod has no src/lib.rs (only when it changed); content: whether the build generated content code.
src/lib.rs
content