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
I've been trying to cross-compile cargo and although I've succeeded now, I ran into several cases where I had to set random environment variables for it to work. Here, PKG_CONFIG_ALLOW_CROSS seems a bit unnecessary, if PKG_CONFIG is already overriden then probably the user/builder knows what they're doing and there is no need to put artificial guards in that make the process Just Not Work.
The text was updated successfully, but these errors were encountered:
For reference, on Debian the cross-compiling pkg-config programs are called $(host-triplet)-pkg-config and they are just a simple wrapper around pkg-config.
This issue is more about the whole Rust ecosystem rather than this particular package, I'd rather not have to set 20 similar random environment variables in the future across various different crates.
I've been trying to cross-compile cargo and although I've succeeded now, I ran into several cases where I had to set random environment variables for it to work. Here,
PKG_CONFIG_ALLOW_CROSS
seems a bit unnecessary, ifPKG_CONFIG
is already overriden then probably the user/builder knows what they're doing and there is no need to put artificial guards in that make the process Just Not Work.The text was updated successfully, but these errors were encountered: