mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-25 11:01:10 +00:00
19 lines
510 B
Rust
19 lines
510 B
Rust
|
// This file was generated by gir (https://github.com/gtk-rs/gir)
|
||
|
// from gir-files (https://github.com/gtk-rs/gir-files)
|
||
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
|
||
|
// 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);
|
||
|
}
|
||
|
}
|