)]}'
{
  "commit": "dd2d52cc511ccac8154e89a28da2f7d5259d7a70",
  "tree": "3d2759035301bfd7f1141053747ca8beaf3177ad",
  "parents": [
    "bde454d27060cba654ec2c0ccfb62fe600ff2431"
  ],
  "author": {
    "name": "Lukasz Anforowicz",
    "email": "lukasza@google.com",
    "time": "Tue Nov 17 10:18:56 2026 -0800"
  },
  "committer": {
    "name": "Copybara-Service",
    "email": "copybara-worker@google.com",
    "time": "Tue Nov 17 10:24:06 2026 -0800"
  },
  "message": "Remove the special case for hidden standard library records.\n\n`CXXRecordDeclImporter` rejected records from the standard library with\nhidden visibility.  This was a workaround for link errors in the\n`cc_std` bindings: Rust called the destructor of the hidden libc++ class\n`std::__libcpp_refstring` (the type of the private `__imp_` field of\n`std::logic_error`), and linking failed with an undefined\n`std::__u::__libcpp_refstring::~__libcpp_refstring()`.\n\nToday Crubit does not generate bindings for this class for other\nreasons, so the special case is not needed:\n\n* `has_bindings` skips all items (except namespaces) with a name that\n  starts with `__`.  Without the special case, Crubit reports:\n  `error: class std::__u::__libcpp_refstring could not be bound:\n  Skipping generating bindings for \u0027__libcpp_refstring\u0027 because it has\n  a leading __`.\n* `std::logic_error::__imp_` is a non-public field, so Crubit represents\n  it as an opaque blob of bytes and doesn\u0027t refer to its type.\n\nThe generated `cc_std` bindings are the same with and without the\nspecial case.\n\nPiperOrigin-RevId: 1023849507\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "cef37517248319994a01fddb10b9f1d47aab7f62",
      "old_mode": 33188,
      "old_path": "rs_bindings_from_cc/importers/cxx_record.cc",
      "new_id": "7c47b391e619ad618ccb954b822cd0ace542190b",
      "new_mode": 33188,
      "new_path": "rs_bindings_from_cc/importers/cxx_record.cc"
    }
  ]
}
