Skip to main content

build_native_pe_binary

Function build_native_pe_binary 

Source
pub fn build_native_pe_binary() -> Result<PathBuf, String>
Expand description

Build (once, content-addressed) the compile-once native PE binary and return its path. Keyed on the generated Rust of pe_native_source + toolchain, so the one-time rustc compile of the whole PE engine happens exactly once per PE version and is reused across every program and session. This is the amortization that turns AOT from “recompile per program” into the 210x win.