You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment, Bindgen does not document in its readme that in BINDGEN_EXTRA_CLANG_ARGS_ is either the target value or the target with hyphens replaced by underscores.
Hello :)
At the moment, Bindgen does not document in its readme that in BINDGEN_EXTRA_CLANG_ARGS_ is either the target value or the target with hyphens replaced by underscores.
This is confusing because without any indication, we are tempted to think that bindgen works like cargo config (see https://doc.rust-lang.org/cargo/reference/config.html#environment-variables) but that's not the case.
For instance, the following does not work (while it would for cargo):
What bindgen supports is:
It would be nice if you could document the format in the README :-)
Maybe it would also be cool to support uppercase targets by modifying
get_target_dependent_env_var()
.The text was updated successfully, but these errors were encountered: