Split libc++ and libc headers in toolchain_headers.bzl and be precise which
header to pick as the public header.

Right now we pick all the headers with basename in STD_HEADERS as public
headers, and this is picking up too many headers in practice. For example
time.h (which we will add in a followup) is present 3 times (includes/time.h,
includes/sys/time.h, includes/linux/time.h) in our environment.

PiperOrigin-RevId: 449462761
4 files changed
tree: 77b8ed4378b3d8d1d913c66941a29ab60d1add68
  1. cc_template/
  2. common/
  3. docs/
  4. lifetime_annotations/
  5. migrator/
  6. rs_bindings_from_cc/
  7. BUILD
  8. CODE_OF_CONDUCT
  9. CONTRIBUTING
  10. LICENSE
  11. README.md
README.md

Crubit: C++/Rust Bidirectional Interop Tool

Extremely experimental interop tooling for C++ and Rust.

Please don‘t use, this is an experiment and we don’t yet know where will it take us. There will be breaking changes without warning. Unfortunately, we can't take contributions at this point.