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

Add a feature for linking to proc_macro. #363

Merged
merged 1 commit into from Mar 31, 2018

Conversation

staktrace
Copy link
Contributor

This feature is enabled by default for backwards compatibility, but
it can be disabled in order to break the runtime dependency on the
dynamic library libproc_macro in the rustc toolchain.

This PR assumes that there is a version 0.5.0 or higher of quote on crates.io that includes dtolnay/quote#62. That is not yet the case (see dtolnay/quote#62 (comment))

@staktrace
Copy link
Contributor Author

I wasn't sure what travis.yml changes you wanted here, since it looks like it builds in some subset of possible configurations but only tests the configuration with all the features.

@dtolnay
Copy link
Owner

dtolnay commented Mar 4, 2018

Thank you! I filed #369 to reopen and merge this PR during the next round of breaking changes.

@dtolnay dtolnay closed this Mar 4, 2018
staktrace added a commit to staktrace/cbindgen that referenced this pull request Mar 5, 2018
Fixes mozilla#137.

standalone-syn 0.13.0 contains the deferred PR dtolnay/syn#363 which
allows turning off the "proc-macro" feature. This is the desired
approach to fixing the dylib dependency problem, and allows cbindgen to
once again be buildable by the release rustc compiler.
eqrion pushed a commit to mozilla/cbindgen that referenced this pull request Mar 6, 2018
Fixes #137.

standalone-syn 0.13.0 contains the deferred PR dtolnay/syn#363 which
allows turning off the "proc-macro" feature. This is the desired
approach to fixing the dylib dependency problem, and allows cbindgen to
once again be buildable by the release rustc compiler.
@dtolnay dtolnay reopened this Mar 31, 2018
This feature is enabled by default for backwards compatibility, but
it can be disabled in order to break the runtime dependency on the
dynamic library libproc_macro in the rustc toolchain.
@dtolnay dtolnay merged commit f28f367 into dtolnay:master Mar 31, 2018
@staktrace staktrace deleted the standalone branch May 31, 2018 13:41
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.

None yet

2 participants