Module cranelift_codegen_meta::gen_settings
source · Expand description
Generate the ISA-specific settings.
Enums
Functions
- Emits the constructor of the Flags structure.
- Emits DESCRIPTORS, ENUMERATORS, HASH_TABLE and PRESETS.
- Generates a
all()
function with all options for this enum - Emit real enum for the Enum settings.
- Emit a getter function for
setting
. - Emits getters for each setting value.
- Generates the
iter
function. - Emit Display and FromStr implementations for enum settings.
- generate 🔒