)]}'
{
  "commit": "46ff959633430ba511b6610be084b85cf06e8f1d",
  "tree": "d3f4a1e73c1feb87ac618491337505751b912c9c",
  "parents": [
    "a2f3fb27c419d8a97b9b4a3dcf7c35e248182684"
  ],
  "author": {
    "name": "Enes Cevik",
    "email": "enes@nsvke.com",
    "time": "Fri Jul 10 10:42:07 2026 +0300"
  },
  "committer": {
    "name": "Arthur Cohen",
    "email": "arthur.cohen@embecosm.com",
    "time": "Fri Aug 07 14:32:54 2026 +0200"
  },
  "message": "gccrs: attr: Register rustc_conversion_suggestion\n\nThis patch registers the \u0027rustc_conversion_suggestion\u0027 attribute. This\nattribute is needed for compiling the alloc crate, so we register it as\na stub and the compiler will emit a warning when it encounters this\nattribute.\n\ngcc/rust/ChangeLog:\n\n\t* checks/errors/rust-builtin-attribute-checker.cc\n\t(attribute_checking_handlers): Add rustc_conversion_suggestion\n\tattribute to map.\n\t(check_valid_attribute_for_item): Add warning for new attribute.\n\t* util/rust-attribute-values.h (class Attributes): Add\n\tRUSTC_CONVERSION_SUGGESTION constexpr.\n\t* util/rust-attributes.cc (__definitions): Add\n\tBuiltinAttrDefinition for new attribute.\n\ngcc/testsuite/ChangeLog:\n\n\t* rust/compile/rustc_conversion_suggestion.rs: New test.\n\nSigned-off-by: Enes Cevik \u003cenes@nsvke.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "c1ab0df5ecc9bbec79b3a96d06f1a940a2843a77",
      "old_mode": 33188,
      "old_path": "gcc/rust/checks/errors/rust-builtin-attribute-checker.cc",
      "new_id": "d8a9bb0fb8857ea51572207adab84560611c3076",
      "new_mode": 33188,
      "new_path": "gcc/rust/checks/errors/rust-builtin-attribute-checker.cc"
    },
    {
      "type": "modify",
      "old_id": "4f8860747ea84859add6b91fb9c52855a24b304c",
      "old_mode": 33188,
      "old_path": "gcc/rust/util/rust-attribute-values.h",
      "new_id": "3ab91d35f9cc4598eb1dbfa735382805ae35b2d0",
      "new_mode": 33188,
      "new_path": "gcc/rust/util/rust-attribute-values.h"
    },
    {
      "type": "modify",
      "old_id": "97f9edeea8b6aa9ecad28130705c3c7fb0e4bdb2",
      "old_mode": 33188,
      "old_path": "gcc/rust/util/rust-attributes.cc",
      "new_id": "2ae917fdb9f466414d50e6c15b3b9d63fd021497",
      "new_mode": 33188,
      "new_path": "gcc/rust/util/rust-attributes.cc"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "e601ccf068ae0dc22913fe2405c0f0533ca8c62a",
      "new_mode": 33188,
      "new_path": "gcc/testsuite/rust/compile/rustc_conversion_suggestion.rs"
    }
  ]
}
