Skip to main content

assert_release_binary_ai_schema_clean

Function assert_release_binary_ai_schema_clean 

Source
pub fn assert_release_binary_ai_schema_clean(binary_path: &Path) -> Result<()>
Expand description

Verifies that a compiled release binary contains zero dev-only AI schema markers.

§Arguments

  • &Path - Path to the compiled release .so, .wasm, or executable binary.

§Returns

  • io::Result<()> - Ok(()) when clean, or an error describing the leak count.