gtk-rs / gir

Tool to generate rust bindings and user API for glib-based libraries
https://gtk-rs.org/gir/book/
MIT License
237 stars 107 forks source link

Add target_os key for toml config #421

Open GuillaumeGomez opened 7 years ago

GuillaumeGomez commented 7 years ago

It'd be very convenient in some cases (like X11 interactions with GDK and GTK).

EPashkin commented 7 years ago

Note that this IMHO not related to when whole crate is OS specific, Ex. GdkX11

GuillaumeGomez commented 7 years ago

That's up to the user at this point, not gir.