cc-rs
cc-rs copied to clipboard
How Can I Know the Toolchain's Include Path?
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.
It seems that you have questions regarding bindgen not cc, did you open the issue at the wrong repo?