Skip to main content

pe_cdylib_source

Function pe_cdylib_source 

Source
pub fn pe_cdylib_source() -> String
Expand description

The PE as an IN-PROCESS cdylib entry: the identical engine to pe_native_source, but the driver is a single-shot ## To peSpecializeOnce (__prog: CProgram) -> Text that RETURNS the residual instead of writing it to stdout — no readWireProgram/writeWireResidual, no stdin loop. The exported cdylib (build_native_pe_cdylib) decodes the wire bytes to a CProgram in its extern "C" shim and calls this function directly, so the resident server’s process/pipe round-trip is gone. ## Main is a trivial stub (a cdylib never runs it).