rules_cc icon indicating copy to clipboard operation
rules_cc copied to clipboard

Add support for fully hermetic sysroots

Open AustinSchuh opened this issue 11 months ago • 2 comments

Clang wants, in order: C++ header files only when compiling for C++ -isystem external/llvm_toolchain_llvm/include/c++/v1/ -isystem external/llvm_toolchain_llvm/include/x86_64-unknown-linux-gnu/c++/v1/

C header files -isystem external/llvm_toolchain_llvm/lib/clang/16/include

We need a new flag_set which comes after the C++ headers to be able to inject them always, but after the C++ headers.

Support for this in toolchains_llvm can land after this gets merged and likely released, unfortunately.

AustinSchuh avatar Jan 14 '25 06:01 AustinSchuh