Vadim Petrochenkov
|
5d27728141
|
rustc_builtin_macros: Share some more logic between derive and cfg_eval
|
2021-03-07 01:12:18 +03:00 |
|
Vadim Petrochenkov
|
10ed08f5b6
|
cfg_eval: Configure everything through mutable visitor methods
This is simpler and mirrors what invocation collector does
|
2021-03-07 00:23:02 +03:00 |
|
Vadim Petrochenkov
|
f9019b7086
|
Move full configuration logic from rustc_expand to rustc_builtin_macros
This logic is applicable to two specific macros and not to the expansion infrastructure in general.
|
2021-03-07 00:17:31 +03:00 |
|
Vadim Petrochenkov
|
5dad6c2575
|
Implement built-in attribute macro #[cfg_eval]
|
2021-03-06 23:03:19 +03:00 |
|