pub fn write(
dir: &Path,
tast: &Tast,
ccfg: &System,
foreign: &ForeignModules,
out_dir: Option<&PathBuf>,
) -> Result<PathBuf>Expand description
Write the generated C sources to <dir>/build/gen/, or out_dir, and
return the directory written to. Every PD with a program must bind
microkit.init and microkit.notified; generate reports a missing
one.