Hi
I'm trying to update mingw-librsvg2 to version 2.56.0 [1], and am stuck
at the following issue:
error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
--> /usr/share/cargo/registry/gio-sys-0.17.4/src/manual.rs:13:63
|
13 | pub const G_SOCKET_FAMILY_INVALID: super::GSocketFamily =
winapi::shared::ws2def::AF_UNSPEC;
| ^^^^^^ use of
undeclared crate or module `winapi`
I've build rust-winapi and manually added the BR rust-winapi-devel to
mingw-librsvg2.spec, but this did not help.
I suspect that here gio-sys is a "native" build which cannot be used for
cross-compiling to Windows? Do I have to build a "mingw-rust-gio-sys"?
I'm not really familiar with rust so any pointers are appreciated.
Thanks
Sandro
[1]
https://copr.fedorainfracloud.org/coprs/smani/mingw-librsvg2/