Skip to main content

Module backend

Module backend 

Source
Expand description

The backend protocol.

MIR is the target-agnostic middle-end boundary; a backend consumes a Module and lowers it to a target artifact. Other backends implement Backend to plug in; EvmCodegen is the reference.

Modules§

evm
The EVM backend: the reference Backend implementation, lowering MIR to EVM bytecode.

Traits§

Backend
A code generation backend that lowers MIR to a target artifact.