Skip to main content

run_native_pe

Function run_native_pe 

Source
pub fn run_native_pe(program: &str) -> Result<String, String>
Expand description

Specialize program on the compile-once native PE — the DEFAULT entry and the pit of success. Prefers the IN-PROCESS cdylib path (run_native_pe_inprocess; no process/pipe boundary) and falls back to the resident server (run_native_pe_server) only if the in-process build/load fails (e.g. no toolchain), so the fast+correct route is what every caller gets by default. The two paths are proven byte-identical by native_pe_wire.