-
-
Notifications
You must be signed in to change notification settings - Fork 119
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
detect static library and regenerate gir
- Loading branch information
Showing
19 changed files
with
54 additions
and
33 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
Generated by gir (https://github.com/gtk-rs/gir @ f0a4546b0a06) | ||
Generated by gir (https://github.com/gtk-rs/gir @ ea1ee40bf933) | ||
from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
Generated by gir (https://github.com/gtk-rs/gir @ f0a4546b0a06) | ||
Generated by gir (https://github.com/gtk-rs/gir @ ea1ee40bf933) | ||
from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
Generated by gir (https://github.com/gtk-rs/gir @ f0a4546b0a06) | ||
Generated by gir (https://github.com/gtk-rs/gir @ ea1ee40bf933) | ||
from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
Generated by gir (https://github.com/gtk-rs/gir @ f0a4546b0a06) | ||
Generated by gir (https://github.com/gtk-rs/gir @ ea1ee40bf933) | ||
from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#[cfg(docsrs)] | ||
fn main() {} // prevent linking libraries to avoid documentation failure | ||
|
||
#[cfg(not(docsrs))] | ||
fn main() { | ||
match system_deps::Config::new().probe() { | ||
Ok(deps) => { | ||
let msvc = std::env::var("CARGO_CFG_TARGET_ENV") | ||
.expect("Cargo should set this variable") | ||
== "msvc"; | ||
let lib = deps | ||
.get_by_name("gobject_2_0") | ||
.expect("The dependency key for gobject in its Cargo.toml should not change"); | ||
if msvc && !lib.statik { | ||
println!("cargo:rustc-cfg=msvc_dll"); | ||
} | ||
} | ||
Err(s) => { | ||
println!("cargo:warning={s}"); | ||
std::process::exit(1); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
Generated by gir (https://github.com/gtk-rs/gir @ f0a4546b0a06) | ||
Generated by gir (https://github.com/gtk-rs/gir @ ea1ee40bf933) | ||
from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
Generated by gir (https://github.com/gtk-rs/gir @ f0a4546b0a06) | ||
Generated by gir (https://github.com/gtk-rs/gir @ ea1ee40bf933) | ||
from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
Generated by gir (https://github.com/gtk-rs/gir @ f0a4546b0a06) | ||
Generated by gir (https://github.com/gtk-rs/gir @ ea1ee40bf933) | ||
from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
Generated by gir (https://github.com/gtk-rs/gir @ f0a4546b0a06) | ||
Generated by gir (https://github.com/gtk-rs/gir @ ea1ee40bf933) | ||
from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
Generated by gir (https://github.com/gtk-rs/gir @ f0a4546b0a06) | ||
Generated by gir (https://github.com/gtk-rs/gir @ ea1ee40bf933) | ||
from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
Generated by gir (https://github.com/gtk-rs/gir @ f0a4546b0a06) | ||
Generated by gir (https://github.com/gtk-rs/gir @ ea1ee40bf933) | ||
from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
Generated by gir (https://github.com/gtk-rs/gir @ f0a4546b0a06) | ||
Generated by gir (https://github.com/gtk-rs/gir @ ea1ee40bf933) | ||
from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
Generated by gir (https://github.com/gtk-rs/gir @ f0a4546b0a06) | ||
Generated by gir (https://github.com/gtk-rs/gir @ ea1ee40bf933) | ||
from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
Generated by gir (https://github.com/gtk-rs/gir @ f0a4546b0a06) | ||
Generated by gir (https://github.com/gtk-rs/gir @ ea1ee40bf933) | ||
from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70) |