cc-rs icon indicating copy to clipboard operation
cc-rs copied to clipboard

How Can I Know the Toolchain's Include Path?

Open xuzihan351 opened this issue 2 years ago • 1 comments

I am using cc to compile several C source files to generate static lib. And using bindgen to generate C header files's wrapper file. I need to provide the Header file search path of the library(such as #include <stdio.h> or #include <stdint.h>) to bindgen to prevent clang from searching the Header file of the host system.

xuzihan351 avatar Jul 10 '23 08:07 xuzihan351

It seems that you have questions regarding bindgen not cc, did you open the issue at the wrong repo?

NobodyXu avatar Jun 10 '25 03:06 NobodyXu