John Baublitz
John Baublitz
Check the v0.7.0-dev branch. I've put up an example based on the one you posted here of a potential solution.
Hi @joshtriplett! I actually have looked into the bitflags crate, but because you can only use the bitflags macro for integer types, this doesn't work very well with my enum...
@joshtriplett As discussed on Zulip, I'll investigate switching only the bitflag types over to `bitflags` and leaving the constants as-is.
This is closed in #182!
Whoops! This should stay open until that's merged.
@drckeefe @mulkieran I've added the requested functionality. Please note that I discovered #3153 while I was looking into it so we should eventually take care of that.
Blocked by #3161
@emilio I'd like to propose a temporary and longer term solution that will take a while due to it requiring LLVM. In the short term, @ojeda found a workaround with...
@pvdrz Sure! Just as a heads up, I think @ojeda and I have come up with two similar but slightly different solutions so we're emailing back and forth to get...
@pvdrz Just a few more considerations: * Evaluating all macros in a single file could result in failure to parse any of the macros if some represent expansions that result...