3ea596a218
Make #[slhx::surface] report a compile-time error when slhx.generated.rs is absent instead of silently expanding to an empty module. Add compile-fail coverage for the missing generated include path. req: build/004 req: test/003
5 lines
156 B
Rust
5 lines
156 B
Rust
fn main() {
|
|
let out = std::path::PathBuf::from(std::env::var_os("OUT_DIR").unwrap());
|
|
std::fs::write(out.join("slhx.generated.rs"), "").unwrap();
|
|
}
|