Skip to content
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

Free cbindgen from rustc-internal dynamic lib dependencies #135

Merged
merged 3 commits into from
Feb 21, 2018

Conversation

staktrace
Copy link
Contributor

This updates cbindgen to use standalone-syn which in turn uses standalone-quote and standalone-proc-macro2, all of which use rustc-ap-proc_macro, which is a fork of the libproc_macro in rustc. This is a workaround for rust-lang/rust#47931 which allows the cbindgen binary to run without requiring all users to hack the LD_LIBRARY_PATH to pick up rustc internal dynamic libraries.

@staktrace
Copy link
Contributor Author

Oh I should probably update the travis.yml file as well, it will likely fail builds on non-nightly

@eqrion eqrion merged commit 2d6bcf8 into mozilla:master Feb 21, 2018
@eqrion
Copy link
Collaborator

eqrion commented Feb 21, 2018

Awesome, thanks Kats! It works locally for me, I'll merge and try and publish this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants