)]}'
{
  "commit": "dcb6355b2a4162ca4b7eae14b970e9f62b90ec3a",
  "tree": "5517d6840a14a3d0c10b607842155333be56db5f",
  "parents": [
    "3b338a1ce871cbf36731d56f02d1d458243c1c23"
  ],
  "author": {
    "name": "Pierre-Emmanuel Patry",
    "email": "pierre-emmanuel.patry@embecosm.com",
    "time": "Tue Jul 07 17:53:50 2026 +0200"
  },
  "committer": {
    "name": "Arthur Cohen",
    "email": "arthur.cohen@embecosm.com",
    "time": "Fri Aug 07 14:33:15 2026 +0200"
  },
  "message": "gccrs: Remove metadata export visitor\n\nThe metadata format will likely change over the upcoming month and right\nnow it doesn\u0027t support trait impl. This commit simplifies metadata export\nby dumping the whole AST within metadatas. This is slower but it should\nbe more complete and correct.\n\ngcc/rust/ChangeLog:\n\n\t* ast/rust-collect-lang-items.cc (CollectLangItems::visit): Visit\n\textern crate\u0027s content when collecting lang items.\n\t* ast/rust-collect-lang-items.h: Add function protototype.\n\t* metadata/rust-export-metadata.cc (ExportContext::push_module_scope):\n\tRemove.\n\t(ExportContext::emit_crate): Add a function to export the whole crate.\n\t(ExportContext::pop_module_scope): Remove.\n\t(ExportContext::emit_trait): Likewise.\n\t(ExportContext::emit_use_declaration): Likewise.\n\t(ExportContext::emit_function): Likewise.\n\t(ExportContext::emit_extern_block): Likewise.\n\t(ExportContext::emit_module): Likewise.\n\t(class ExportVisItems): Likewise.\n\t(PublicInterface::gather_export_data): Dump the AST.\n\t* metadata/rust-export-metadata.h: Update prototypes.\n\ngcc/testsuite/ChangeLog:\n\n\t* rust/link/simple_function_0.rs: Remove bogus match.\n\nSigned-off-by: Pierre-Emmanuel Patry \u003cpierre-emmanuel.patry@embecosm.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "a8d9064926064896ca6d478d2ae7aa4db35a57d4",
      "old_mode": 33188,
      "old_path": "gcc/rust/ast/rust-collect-lang-items.cc",
      "new_id": "7a5ac6dd2e388dad3840888c16e7200f3f104af1",
      "new_mode": 33188,
      "new_path": "gcc/rust/ast/rust-collect-lang-items.cc"
    },
    {
      "type": "modify",
      "old_id": "60b5ff4015daa9311c6b04c5d28663c3a295845f",
      "old_mode": 33188,
      "old_path": "gcc/rust/ast/rust-collect-lang-items.h",
      "new_id": "76e7adb9a380258d58ad17dc9cfa02ac066c4cd5",
      "new_mode": 33188,
      "new_path": "gcc/rust/ast/rust-collect-lang-items.h"
    },
    {
      "type": "modify",
      "old_id": "6998319d857531f92383b142aaf844c4f743d5e1",
      "old_mode": 33188,
      "old_path": "gcc/rust/metadata/rust-export-metadata.cc",
      "new_id": "5d01c5425f4849566d70b606f3e84517cdd69da1",
      "new_mode": 33188,
      "new_path": "gcc/rust/metadata/rust-export-metadata.cc"
    },
    {
      "type": "modify",
      "old_id": "b1e12f2647ff8637396e1157d67c6228325ba177",
      "old_mode": 33188,
      "old_path": "gcc/rust/metadata/rust-export-metadata.h",
      "new_id": "e9b2e963d8f62929e272baf3561aa2633897a8b6",
      "new_mode": 33188,
      "new_path": "gcc/rust/metadata/rust-export-metadata.h"
    },
    {
      "type": "modify",
      "old_id": "35771901b33294e49ef7f097de8932da35237283",
      "old_mode": 33188,
      "old_path": "gcc/testsuite/rust/link/simple_function_0.rs",
      "new_id": "44e0fe441098d99a21e18bd556de9cee2b94e21e",
      "new_mode": 33188,
      "new_path": "gcc/testsuite/rust/link/simple_function_0.rs"
    }
  ]
}
