Skip to content

Commit ae2722a

Browse files
committed
chore: update submodule and regenerate
1 parent 2fae99f commit ae2722a

File tree

4 files changed

+9
-11
lines changed

4 files changed

+9
-11
lines changed

granite/src/auto/versions.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
Generated by gir (https://github.com/gtk-rs/gir @ 85fe8474df07)
1+
Generated by gir (https://github.com/gtk-rs/gir @ 1d0088ebcb66)
22
from
33
from gir-files (https://github.com/gtk-rs/gir-files @ 1490bcc19dc8)

granite/sys/build.rs

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,14 @@
33
// from gir-files (https://github.com/gtk-rs/gir-files)
44
// DO NOT EDIT
55

6-
#[cfg(not(docsrs))]
7-
use std::process;
8-
9-
#[cfg(docsrs)]
10-
fn main() {} // prevent linking libraries to avoid documentation failure
11-
12-
#[cfg(not(docsrs))]
136
fn main() {
7+
if std::env::var("DOCS_RS").is_ok() {
8+
// prevent linking libraries to avoid documentation failure
9+
return;
10+
}
11+
1412
if let Err(s) = system_deps::Config::new().probe() {
1513
println!("cargo:warning={s}");
16-
process::exit(1);
14+
std::process::exit(1);
1715
}
1816
}

granite/sys/src/auto/versions.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
Generated by gir (https://github.com/gtk-rs/gir @ 85fe8474df07)
1+
Generated by gir (https://github.com/gtk-rs/gir @ 1d0088ebcb66)
22
from
33
from gir-files (https://github.com/gtk-rs/gir-files @ 1490bcc19dc8)

0 commit comments

Comments
 (0)