Skip to content

Commit bc51d35

Browse files
committed
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 <[email protected]>
1 parent 57fb4a1 commit bc51d35

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

build.rs

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ fn generate_ts_bindings(ts_include_dir: String) -> Result<()> {
1919
println!("cargo:rerun-if-changed={}", header);
2020

2121
let bindings = bindgen::Builder::default()
22+
.clang_arg(format!("-I{}", ts_include_dir))
2223
.clang_arg(format!(
2324
"-I{}",
2425
ts_include_dir + "/components/rpc/common/interface"

0 commit comments

Comments
 (0)