Skip to main content

emit_rust_constants

Function emit_rust_constants 

Source
pub fn emit_rust_constants(program: &Program) -> Result<Option<Emitted>>
Expand description

Emits a top-level constant with the JavaScript-generated eligibility, binding form and rendering decisions, or None for other programs.

ยงErrors

On a constant value the target cannot express faithfully.