Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

coolreader18
Copy link
Member

@coolreader18 coolreader18 commented Jan 10, 2020

proc-macro-hack is sort of a pain to deal with (based on the nested cargo features that were removed by this), and with Rust 1.40 function-like macros can generate macro_rules!, so this is pretty easy to implement ourselves (proc-macro-hack does something with a custom derive on an enum and stringifying and reparsing the input stream).

Copy link
Contributor

@palaviv palaviv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. The CI is failing on some redundant new line 😞

@coolreader18 coolreader18 force-pushed the coolreader18/no-proc-macro-hack branch from 5a80d49 to 098532b Compare January 10, 2020 17:29
@coolreader18 coolreader18 merged commit bc0baa4 into master Jan 10, 2020
@coolreader18 coolreader18 deleted the coolreader18/no-proc-macro-hack branch January 14, 2020 17:05
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.

2 participants