diff options
Diffstat (limited to 'libsecret/sys/build.rs')
-rw-r--r-- | libsecret/sys/build.rs | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/libsecret/sys/build.rs b/libsecret/sys/build.rs new file mode 100644 index 0000000..fc0010a --- /dev/null +++ b/libsecret/sys/build.rs @@ -0,0 +1,18 @@ +// Generated by gir (https://github.com/gtk-rs/gir @ 4dd714f7f3b1) +// from +// from gir-files (https://github.com/gtk-rs/gir-files.git @ b9db716f1bb7) +// DO NOT EDIT + +#[cfg(not(docsrs))] +use std::process; + +#[cfg(docsrs)] +fn main() {} // prevent linking libraries to avoid documentation failure + +#[cfg(not(docsrs))] +fn main() { + if let Err(s) = system_deps::Config::new().probe() { + println!("cargo:warning={s}"); + process::exit(1); + } +} |