Details
-
Improvement
-
Resolution: Fixed
-
Major - P3
-
None
-
None
-
None
-
Fully Compatible
Description
Currently trying to include most standard headers will result in a bazel error like:
this rule is missing dependency declarations for the following files included by 'src/mongo/platform/visibility_test_libcommon.cpp': '.../external/mongo_toolchain/stow/gcc-v4/lib/gcc/aarch64-mongodb-linux/11.3.0/include/stdint.h' '.../external/mongo_toolchain/stow/gcc-v4/lib/gcc/aarch64-mongodb-linux/11.3.0/include-fixed/pthread.h'
This is because bazel currently doesn't know that these are common dependencies to all cc complication targets.
Update "cxx_builtin_include_directories" in the toolchain to pull in standard libraries by default.