-
-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cargo build failure caused by other crates with bindgen #29
Comments
The best solution I've found is to update all packages to a bindgen version of at least 0.55.0. It looks like vaaaaanquish is doing god's work and upgrading the xgboost crate, so this specific instance should be solved soon. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
First things first, thank you for this nice crate!
This is not a problem of this crate per se, and this issue is just for your information.
If I include several crates which make use of
bindgen
, say this crate (vaaaaanquish/lightgbm-rs) and davechallis/rust-xgboost inCargo.toml
,cargo build
fails with the following error message:As is menthioned in this issue rust-lang/cargo#5237, it seems this failure occurs in the presence of the different versions of
bindgen
in the dependency.If people want to do some ensembling (say xgboost & lightgbm just as above), or deploy some product with a complex data-processing pipeline, this may be a problem.
Having said that, I have no idea how to address the problem, since I do not know even a tiny bit of the cargo internals. Also, this seems to be a problem of the cargo build system itself, and it may be inappropriate to bring up this issue here, so please feel free to close this issue in case you find it unnecessary.
The text was updated successfully, but these errors were encountered: