-
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 *_value
methods to proc_macro lib
#136355
Add *_value
methods to proc_macro lib
#136355
Conversation
This comment has been minimized.
This comment has been minimized.
I opened a thread on zulip on how to correctly integrate this new lib into bootstrap build process. |
f9e8cc5
to
5c5ed38
Compare
This comment has been minimized.
This comment has been minimized.
5c5ed38
to
27ab932
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
f86a30d
to
75aeabf
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
cf52b9f
to
e71c43b
Compare
This comment has been minimized.
This comment has been minimized.
I don't see how to fix this failure. I'll wait for someone from @rust-lang/bootstrap to take a look. Apart from this, seems the PR is mostly ready. :) |
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.
just a tiny suggestion, LGTM otherwise
Oh, tests are failing on bootstrap (due to "literal-escaper" if check).. |
e71c43b
to
774a25c
Compare
These commits modify the If this was unintentional then you should revert the changes before this PR is merged. The list of allowed third-party dependencies may have been modified! You must ensure that any new dependencies have compatible licenses before merging. These commits modify the If this was unintentional then you should revert the changes before this PR is merged. |
PR is now ready for review! |
☔ The latest upstream changes (presumably #136585) made this pull request unmergeable. Please resolve the merge conflicts. |
774a25c
to
1d10d7b
Compare
Fixed merge conflicts. |
💔 Test failed - checks-actions |
@bors r=Amanieu |
Rollup of 9 pull requests Successful merges: - rust-lang#136355 (Add `*_value` methods to proc_macro lib) - rust-lang#137621 (Add std support to cygwin target) - rust-lang#137793 (Stablize anonymous pipe) - rust-lang#138341 (std: Mention clone-on-write mutation in Arc<T>) - rust-lang#138517 (Improve upvar analysis for deref of child capture) - rust-lang#138584 (Update Rust Foundation links in Readme) - rust-lang#138586 (Document `#![register_tool]`) - rust-lang#138590 (Flatten and simplify some control flow 🫓) - rust-lang#138592 (update change entry for rust-lang#137147) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of rust-lang#136355 - GuillaumeGomez:proc-macro_add_value_retrieval_methods, r=Amanieu Add `*_value` methods to proc_macro lib This is the implementation of rust-lang/libs-team#459. It allows to get the actual value (unescaped) of the different string literals. Part of rust-lang#136652. r? libs-api
💔 Test failed - checks-actions |
@bors r- already merged, bors! |
I think this PR broke the rustc-src package:
|
I made an issue for this: #138647 |
…r=petrochenkov Revert: Add *_value methods to proc_macro lib This reverts rust-lang#136355. That PR caused unexpected breakage: - the rustc-dev component can no longer be loaded by cargo, which impacts Miri and clippy and likely others - rustc_lexer can no longer be published to crates.io, which impacts RA See rust-lang#138647 for context. Cc `@GuillaumeGomez` `@Amanieu`
…r=petrochenkov Revert: Add *_value methods to proc_macro lib This reverts rust-lang#136355. That PR caused unexpected breakage: - the rustc-dev component can no longer be loaded by cargo, which impacts Miri and clippy and likely others - rustc_lexer can no longer be published to crates.io, which impacts RA See rust-lang#138647 for context. Cc `@GuillaumeGomez` `@Amanieu`
This is the implementation of rust-lang/libs-team#459.
It allows to get the actual value (unescaped) of the different string literals.
Part of #136652.
r? libs-api