Uh oh!
There was an error while loading. Please reload this page.
rustc: Stabilize the proc_macro feature - #38783
Conversation
This commit stabilizes the `proc_macro` and `proc_macro_lib` features in the compiler to stabilize the "Macros 1.1" feature of the language. Many more details can be found on the tracking issue, rust-lang#35900. Closesrust-lang#35900
rust-highfive
commented
Jan 2, 2017
r? @aturon (rust_highfive has picked a reviewer for you, use r? to override) |
steveklabnik
commented
Jan 2, 2017
🎊🎉 |
abonander
commented
Jan 2, 2017
|
nikomatsakis
commented
Jan 3, 2017
@bors r+ |
nikomatsakis
commented
Jan 3, 2017
@bors r- |
nikomatsakis
commented
Jan 3, 2017
@abonander raises a good point! :) @alexcrichton, are there other users of |
alexcrichton
commented
Jan 3, 2017
@abonander to clarify, is that implemented? I couldn't find @nikomatsakis AFAIK nothing else is, no |
abonander
commented
Jan 3, 2017
I've started tinkering on it because I'd like to experiment with the feature. It actually looks pretty straightforward, mostly just copying custom derive. |
alexcrichton
commented
Jan 3, 2017
@abonander I'm still a little confused? I haven't been following all the proc-macro business that closely. What is |
abonander
commented
Jan 3, 2017
It is not currently supported in the compiler, though the pieces are (mostly) there. I'd have to read over the RFC again but I don't think it uses its own feature flag, though that can be changed trivially. |
alexcrichton
commented
Jan 3, 2017
Ok, sounds like that can just have a new feature gate if it isn't already implemented? I'm sort of confused, does this PR need to change? |
abonander
commented
Jan 3, 2017
I don't think so, we just need to make sure the feature gate for the other two proc macro kinds is different. |
nikomatsakis
commented
Jan 4, 2017
@bors r+ p=1 |
bors
commented
Jan 4, 2017
📌 Commit 045f8f6 has been approved by |
nikomatsakis
commented
Jan 4, 2017
Marking as beta-accepted. The whole point is to backport this -- and anyway it's 99% marking stuff stable. cc @rust-lang/compiler |
bors
commented
Jan 4, 2017
bors
commented
Jan 4, 2017
☀️ Test successful - status-appveyor, status-travis |
This commit stabilizes the
proc_macroandproc_macro_libfeatures in thecompiler to stabilize the "Macros 1.1" feature of the language. Many more
details can be found on the tracking issue, #35900.
Closes#35900