Skip to main content

compile_to_rust_observed

Function compile_to_rust_observed 

Source
pub fn compile_to_rust_observed(source: &str) -> Result<String, ParseError>
Expand description

Compile to Rust in the OBSERVED profile (Wave 13): the emitted program EMITS observation events — logicaffeine_system::obs::record/span_enter/ span_exit calls for Note/Warn/Record/During — instead of eliding them. The default compile_to_rust stays the elided (release) profile, byte-identical to the observation-free program (§0.7).