Rust-GCC / gccrs

GCC Front-End for Rust
https://rust-gcc.github.io/
GNU General Public License v2.0
2.36k stars 151 forks source link

Expand necessary builtin macros eagerly #1791

Open CohenArthur opened 1 year ago

CohenArthur commented 1 year ago

The following list of macros is allowed to expand eagerly as of Rust 1.49. In our current implementation, this will mean tweaking that builtin's handler in rust-macro-builtins.cc in order to return a new fragment containing the unexpanded macro expansion. The list is as follows:

I'll create associated issues for each of these tasks.

CohenArthur commented 1 year ago

Updated as most of the macros on this list did not need to be expanded eagerly :)