Initial commit

This commit is contained in:
Sebastian authored and Hakan Seven committed 2026-06-25 00:01:36 +03:00
1 parent 125b89d8da
commit dcfaed0182
26 files changed
+2080 -143

No files matched your search

+3 -2
View File
@@ -101,9 +101,10 @@ fn main() {
out.push_str("\t]\n}\n");
let out_path = mods_dir.join("registry.rs");
let out_dir = std::env::var("OUT_DIR").expect("OUT_DIR not set");
let out_path = Path::new(&out_dir).join("modules_registry.rs");
let current = fs::read_to_string(&out_path).unwrap_or_default();
if current != out {
fs::write(&out_path, &out).expect("failed to write registry.rs");
fs::write(&out_path, &out).expect("failed to write modules_registry.rs");
}
}