gtk-rs / gir

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

DEFAULT_GIR_PATH could respect CARGO_TARGET_DIR #1483

Open awused opened 1 year ago

awused commented 1 year ago

Right now DEFAULT_GIR_PATH is always hardcoded to look for a local target directory. It can be overridden with --gir-path but since CARGO_TARGET_DIR is standard it could be used as the default if set.