Add error message when webui submodules are not pulled

This commit is contained in:
Ethan O'Brien
2026-02-19 09:59:16 -06:00
parent f4fe727a0e
commit f0183370be

View File

@@ -9,4 +9,8 @@ fn main() {
.compile("libc_code.a");
println!("cargo:rerun-if-changed=src/log.c");
}
if !std::fs::exists("webui/index.html").unwrap_or(false) {
panic!("Could not compile crate! Missing webui! Did you pull submodules?");
}
}