Module cranelift_codegen_meta::gen_types[][src]

Generate sources with type info.

This generates a types.rs file which is included in lib/codegen/ir/types.rs. The file provides constant definitions for the most commonly used types, including all of the scalar types.

This ensures that the metaprogram and the generated program see the same type numbering.

Functions

generate

Generate the types file.