mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-24 14:08:17 +00:00
It partially expands crate attributes before the main expansion pass (without modifying the crate), and the produced preliminary crate attribute list is used for querying a few attributes that are required very early. Crate-level cfg attributes are then expanded normally during the main expansion pass, like attributes on any other nodes.