Module codegen

Module codegen 

Source

Re-exports§

pub use util::escape_path;
pub use util::mangle_entity;
pub use util::mangle_input;
pub use util::mangle_output;
pub use util::TupleIndex;

Modules§

util

Structs§

Codegenable
A mir entity which has had passes required for codegen performed on it

Functions§

entity_code
Source code is used for two things: mapping expressions back to their original source code location, and for assertions. If source_code is None, no (* src = *) attributes will be emitted, however, assertions will cause a panic. This is convenient for tests where specifying source location is annoying to specify. In actual compilation this should be Some
prepare_codegen