Crate ruka_codegen_wasm

Source
Expand description

Direct WASM backend: MIR lowering, validation, and WAT rendering.

Modulesยง

base ๐Ÿ”’
entry ๐Ÿ”’
locals_and_calls ๐Ÿ”’
lower_function ๐Ÿ”’
lower_instr_aggregate ๐Ÿ”’
lower_instr_dispatch ๐Ÿ”’
memory_and_release ๐Ÿ”’
tail ๐Ÿ”’

Structsยง

EmitOptions
Configuration switches for direct WASM code generation.
WasmArtifacts
Browser-facing artifacts produced by the direct WASM backend.
WasmDiagnostic
Non-fatal diagnostic emitted by the direct WASM backend.

Functionsยง

emit_program_best_effort
Emit WASM and matching WAT from MIR.
emit_program_best_effort_with_options
Emit WASM and matching WAT from MIR with explicit backend options.