Skip to content

Commit

Permalink
build.rs: Add include path for rpc_caller_session.h
Browse files Browse the repository at this point in the history
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 <gowtham.sureshkumar@arm.com>
  • Loading branch information
gowthamsk-arm committed May 10, 2024
1 parent 904535e commit d23ff74
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit d23ff74

Please sign in to comment.