From bc51d35422badb5de25b6284b3144374cd98ae4f Mon Sep 17 00:00:00 2001 From: Gowtham Suresh Kumar Date: Fri, 10 May 2024 12:05:59 +0100 Subject: [PATCH] build.rs: Add include path for rpc_caller_session.h The new trusted services RPC calls come from rpc_caller_session.h. Include this while generating bindings using bindgen. Signed-off-by: Gowtham Suresh Kumar --- build.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/build.rs b/build.rs index ad94c795..ceebda77 100644 --- a/build.rs +++ b/build.rs @@ -19,6 +19,7 @@ fn generate_ts_bindings(ts_include_dir: String) -> Result<()> { println!("cargo:rerun-if-changed={}", header); let bindings = bindgen::Builder::default() + .clang_arg(format!("-I{}", ts_include_dir)) .clang_arg(format!( "-I{}", ts_include_dir + "/components/rpc/common/interface"