Skip to main content

program_to_core_wire_bytes_via_interpreter

Function program_to_core_wire_bytes_via_interpreter 

pub fn program_to_core_wire_bytes_via_interpreter(
    program: &str,
) -> Result<Vec<u8>, String>
Expand description

The REFERENCE marshal: always the interpreter path (construct the CProgram via the tree-walker, wireBytes-serialize it). The native builder’s output must be BYTE-IDENTICAL to this — locked by native_pe_wire::native_builder_is_byte_identical_to_the_interpreter. Kept public so the lock can force the reference regardless of native-builder coverage.