-
Notifications
You must be signed in to change notification settings - Fork 65
Open
Description
It would be nice if we could add const or static global items to codegen scopes. To ensure correctness, these could only be allowed for a small set of primitives, like ints and floats and &str, as well as arrays / slices / references of those. I have a password generator which uses build.rs to compile a list of words directly into the source; codegen would be a great addition to this functionality.
Anders429, changhe3, urothis, schneiderfelipe, Michael-J-Ward and 5 more
Metadata
Metadata
Assignees
Labels
No labels