)]}'
{
  "commit": "06704919507893e4e26a3fc0adf5aefaf0356199",
  "tree": "6bdaf4919201e2d37de8c44b22f72f84b3322c44",
  "parents": [
    "d1ee5e59a964a419b84b760812a35075034f4861"
  ],
  "author": {
    "name": "Nikita Popov",
    "email": "npopov@redhat.com",
    "time": "Thu Mar 12 03:52:53 2026 -0500"
  },
  "committer": {
    "name": "Nikita Popov",
    "email": "npopov@redhat.com",
    "time": "Thu Mar 12 10:00:21 2026 +0100"
  },
  "message": "Don\u0027t add empty target features for target-cpu\u003dnative on macOS\n\nLLVM does not support host feature detection (only host cpu\ndetection) on apple platforms. As such, the returned feature\nstring will be empty. Adding this empty string to the target-features\nattribute results in a verifier error on LLVM 22.\n\nFix this by not adding the empty string to the target features.\nThe reason why this was not caught by the target-cpu-native test\nis that it requires a function that adds *some* target features,\notherwise the attribute is omitted entirely. We achieve this with\na somewhat peculiar construction that enables `neon` if it\u0027s\nalready enabled. (This is to avoid enabling it on softfloat targets.)\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "fbb582fe86018341910d1d8b17ba3c7505d737dd",
      "old_mode": 33188,
      "old_path": "compiler/rustc_codegen_llvm/src/llvm_util.rs",
      "new_id": "85b515f2ef9cb0fc10bc6bfab68a46a830f65f93",
      "new_mode": 33188,
      "new_path": "compiler/rustc_codegen_llvm/src/llvm_util.rs"
    },
    {
      "type": "modify",
      "old_id": "f328e4d9d04c31d0d70d16d21a07d1613be9d577",
      "old_mode": 33188,
      "old_path": "tests/run-make/target-cpu-native/foo.rs",
      "new_id": "5abcd25abc3f3eb49975669e1fb53912211edf99",
      "new_mode": 33188,
      "new_path": "tests/run-make/target-cpu-native/foo.rs"
    },
    {
      "type": "modify",
      "old_id": "7b7974f309789a24ad2141d06558ff4a754699a8",
      "old_mode": 33188,
      "old_path": "tests/run-make/target-cpu-native/rmake.rs",
      "new_id": "5791bf01bba2b2d8d9edce250218062595b1c8cd",
      "new_mode": 33188,
      "new_path": "tests/run-make/target-cpu-native/rmake.rs"
    }
  ]
}
