mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-25 11:01:10 +00:00
d50d7b4a95
This version adds a `--strip-docs` flag to `generator.py`, used in conjunction with `--strip-docs --embed-docs` to clean documentation first before re-embedding it (otherwise the same text would show up multiple times). It is also used in the CI to check that no documentation disappears on stripping, ie. all documentation is properly annotated with `// rustdoc-stripper-ignore-next`.
18 lines
555 B
Rust
18 lines
555 B
Rust
// Generated by gir (https://github.com/gtk-rs/gir @ 612ed89)
|
|
// from gir-files (https://github.com/gtk-rs/gir-files @ 6088bb6)
|
|
// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 208138a)
|
|
// DO NOT EDIT
|
|
|
|
#[cfg(not(feature = "dox"))]
|
|
use std::process;
|
|
|
|
#[cfg(feature = "dox")]
|
|
fn main() {} // prevent linking libraries to avoid documentation failure
|
|
|
|
#[cfg(not(feature = "dox"))]
|
|
fn main() {
|
|
if let Err(s) = system_deps::Config::new().probe() {
|
|
println!("cargo:warning={}", s);
|
|
process::exit(1);
|
|
}
|
|
}
|