-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Build
Currently we are passing in "-nostdinc++", but not "-nostdinc". This causes C headers to be included from the system outside of the bazel toolchain itself, which is not ideal for remote execution or for reproducible builds.
Pass in "-nostdinc" and update the bazel toolchain to contain the currently missing header files necessary for c compilation. The issue I originally ran into while trying to support this was that we were missing inttypes.h. It's unclear which headers we need to add to fully support this.