-
Notifications
You must be signed in to change notification settings - Fork 723
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
Update which, quote and proc_macro. #1409
Conversation
cc @Eijebong, last commit is a rebase of yours. If you could take a look it'd be great. |
One test failed due to missing conversion to #[doc |
2496a23
to
a71f3ec
Compare
Meh, it seems that this triggers rust-lang/cargo#2589. See cbindgen's similar issues: mozilla/cbindgen#203 |
it's enough to keep |
That's fine for me. @Eijebong did you manage to take a look at this? Mostly as a sanity check. |
From a quick look it seemed fine. We're running into dtolnay/proc-macro2#60 a lot though |
Err, my above comment meant to quote:
So @ignatenkobrain I have no preference on landing this as is or with which kept at 1.0. If the latter makes things easier, let me know and I'll remove it from the PR. |
IIUC, if you push this as is, you would have problems with doing cargo install from users because when compiler is updated, binary would be broken. @cuviper, did i describe problem correctly? |
This, but also problems if the user tries to run bindgen with a different toolchain active. e.g. having compiled bindgen with your default-stable rustc, then using it in one of your projects on nightly. Or vice versa. Any scenario where the bindgen gets linked to rustc shared libraries will mean your installation is tied to that exact toolchain. This arises from |
a71f3ec
to
b8b8247
Compare
With harryfei/which-rs#9 in |
:party: |
☔ The latest upstream changes (presumably #1453) made this pull request unmergeable. Please resolve the merge conflicts. |
I give up on the doc comments. This is a rebase of rust-lang#1334 keeping the formatting of the comments and using TokenStream::from_str instead because one can hope. Fixes rust-lang#1407.
b8b8247
to
70298c2
Compare
Ok, so I rebased this, and bumped which as well. Assuming this is green I'll merge. Thanks everyone for all the effort, specially @Eijebong :) |
1c28e5a
to
7b1406d
Compare
Update syn - servo/html5ever#353 - servo/rust-cssparser#229 - servo/webrender#3264 - servo/media#162 - rust-lang/rust-bindgen#1409 <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/22085) <!-- Reviewable:end -->
Fixes #1407.