)]}'
{
  "commit": "62578dfddea950705da9ea1d72533ce79af0e623",
  "tree": "f34f553826077342702a70dd13e79671aa85db57",
  "parents": [
    "45c4d9cbf9711a28244094b6b7572ee659fd05c7"
  ],
  "author": {
    "name": "Nicholas Nethercote",
    "email": "n.nethercote@gmail.com",
    "time": "Tue Aug 25 13:58:13 2026 +1000"
  },
  "committer": {
    "name": "Nicholas Nethercote",
    "email": "n.nethercote@gmail.com",
    "time": "Tue Aug 25 20:53:11 2026 +1000"
  },
  "message": "Fix the wasm32-unknown-unknown target feature/cfg bug\n\nCurrently, `parse_cfg` calls `build_configuration`, which calls\n`default_configuration`, which calls\n`sess.target.singlethread(\u0026sess.internal_target_features)`. But\n`sess.internal_target_features` hasn\u0027t been set at this point and is\nempty!\n\nThis commit moves the setting of `sess.internal_target_features` before\nthe `parse_cfg` call to fix this ordering bug. This results in the\n`cfg(target_has_threads)` being correctly set on\n`wasm32-unknown-unknown` when `-Ctarget-feature\u003d+atomics` is specified.\n\nNote: I have plans to make this kind of ordering bug\ndifficult/impossible in a follow-up (e.g. #161432).\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "1e8554b6ebe43777d9d4fcd9b216de35baaeb66a",
      "old_mode": 33188,
      "old_path": "compiler/rustc_interface/src/interface.rs",
      "new_id": "da1f7d2a339675a2a30469032199c6e910c19642",
      "new_mode": 33188,
      "new_path": "compiler/rustc_interface/src/interface.rs"
    },
    {
      "type": "modify",
      "old_id": "09373bb4800596dbc10fb063fdbb87719d746eb2",
      "old_mode": 33188,
      "old_path": "tests/run-make/print-cfg/rmake.rs",
      "new_id": "d5de89c0de1515af57ec06f126e378de0cd0c9ea",
      "new_mode": 33188,
      "new_path": "tests/run-make/print-cfg/rmake.rs"
    }
  ]
}
