-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
Tracking Issue for built-in attribute macro #[cfg_eval] #82679
Copy link
Copy link
Open
Labels
A-attributesArea: Attributes (`#[…]`, `#![…]`)Area: Attributes (`#[…]`, `#![…]`)A-proc-macrosArea: Procedural macrosArea: Procedural macrosC-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCT-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.
Metadata
Metadata
Assignees
Labels
A-attributesArea: Attributes (`#[…]`, `#![…]`)Area: Attributes (`#[…]`, `#![…]`)A-proc-macrosArea: Procedural macrosArea: Procedural macrosC-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCT-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Feature gate:
#![feature(cfg_eval)]This is a tracking issue for built-in attribute macro
#[cfg_eval]that is used for eagerly expanding all#[cfg]and#[cfg_attr]attributes in its input ("fully configuring" the input).The effect is identical to effect of
#[derive(Foo, Bar)]which also fully configures its input before passing it to macrosFooandBar.Public API
Steps / History
#[cfg_eval]+ some refactoring #82682Unresolved Questions