-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Open
Labels
A-Cross-CuttingImpacts the entire engineImpacts the entire engineC-Code-QualityA section of code that is hard to understand or changeA section of code that is hard to understand or changeD-MacrosCode that generates Rust codeCode that generates Rust codeD-ModestA "normal" level of difficulty; suitable for simple features or challenging fixesA "normal" level of difficulty; suitable for simple features or challenging fixesS-Needs-DesignThis issue requires design work to think about how it would best be accomplishedThis issue requires design work to think about how it would best be accomplished
Description
While writing #17496 I came upon a crate called darling
which would really simplify all proc macros we currently have such as AsBindGroup
. It would be way easier to specify attributes and they would be real structs instead of const structs. We would also get the benefit of spelling suggestions.
Metadata
Metadata
Assignees
Labels
A-Cross-CuttingImpacts the entire engineImpacts the entire engineC-Code-QualityA section of code that is hard to understand or changeA section of code that is hard to understand or changeD-MacrosCode that generates Rust codeCode that generates Rust codeD-ModestA "normal" level of difficulty; suitable for simple features or challenging fixesA "normal" level of difficulty; suitable for simple features or challenging fixesS-Needs-DesignThis issue requires design work to think about how it would best be accomplishedThis issue requires design work to think about how it would best be accomplished