From 7805f943af5f739bcdb9749c7106f8562725e3d7 Mon Sep 17 00:00:00 2001 From: Jackson Coxson Date: Wed, 22 Oct 2025 10:26:25 -0600 Subject: [PATCH] Update the C++ idevice.h header on build --- ffi/build.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ffi/build.rs b/ffi/build.rs index d26e3b8..a6d1b5d 100644 --- a/ffi/build.rs +++ b/ffi/build.rs @@ -47,4 +47,7 @@ fn main() { f.write_all(b"\n\n\n").unwrap(); f.write_all(&h.into_bytes()) .expect("failed to append plist.h"); + + let f = std::fs::read_to_string("idevice.h").unwrap(); + std::fs::write("../cpp/include/idevice.h", f).unwrap(); }