-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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 lib section to rustc_lexer's Cargo.toml #63036
Conversation
|
||
[lib] | ||
doctest = false | ||
name = "rustc_lexer" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you add a comment explaining that we need this "no-op" lib section for purely for ap?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added a comment in 98f29f5.
r? @matklad r=me with an explanatory comment |
@bors r=matklad p=2 (blocks RLS update and Rustfmt/Racer nightly builds) |
📌 Commit 98f29f5 has been approved by |
⌛ Testing commit 98f29f5 with merge 0ee6ce723198fcd11d708cb987beaf39e11d1cd5... |
Add lib section to rustc_lexer's Cargo.toml This is required to fix the rustc-ap-syntax build error in the recent version. The error could also be fixed on the [rustc-auto-publish](https://github.com/alexcrichton/rustc-auto-publish) side by manually adding `[lib]` section if one does not exist. The latter approach, however, may have a surprising side effect, so I am opting for a simpler solution for now. r? @alexcrichton
@bors retry rolled up |
Rollup of 6 pull requests Successful merges: - #62423 (Fix cycle error with existential types) - #62979 (Cleanup save-analysis JsonDumper) - #62982 (Don't access a static just for its size and alignment) - #63013 (add `repr(transparent)` to `IoSliceMut` where missing) - #63014 (Stop bare trait lint applying to macro call sites) - #63036 (Add lib section to rustc_lexer's Cargo.toml) Failed merges: r? @ghost
This is required to fix the rustc-ap-syntax build error in the recent version. The error could also be fixed on the rustc-auto-publish side by manually adding
[lib]
section if one does not exist. The latter approach, however, may have a surprising side effect, so I am opting for a simpler solution for now.r? @alexcrichton