Debian Codegraph @

debian/missing-sources/cairo-sys-rs/build.rs

raw
1 fn main() {
2 if std::env::var("DOCS_RS").is_ok() {
3 // prevent linking libraries to avoid documentation failure
4 return;
5 }
6
7 if let Err(s) = system_deps::Config::new().probe() {
8 println!("cargo:warning={s}");
9 std::process::exit(1);
10 }
11 }