pub fn build_with_frame_limit( program: &Program, directory: &Path, max_frame_bytes: u32, ) -> Result<(), String>