)]}'
{
  "commit": "d7f5e18b9f33466769c290b7190d1c5dbc41236e",
  "tree": "d80cd28a33d088717b7e309139751fc7c1e4f2f4",
  "parents": [
    "9c20a89bebe9d0ee4175388c0f07b0652600c59f"
  ],
  "author": {
    "name": "David Benjamin",
    "email": "davidben@google.com",
    "time": "Wed Feb 14 18:15:23 2024 -0500"
  },
  "committer": {
    "name": "Boringssl LUCI CQ",
    "email": "boringssl-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Thu Feb 15 17:54:24 2024 +0000"
  },
  "message": "Work around bindgen bug around constants\n\nDue to https://github.com/rust-lang/rust-bindgen/issues/923, bindgen\ndoes not evaluate constants correctly. This means arithemetic is done\nwith the wrong type, and more importantly the output has the wrong type.\n\nUltimately, this is a bug in bindgen, but as that\u0027s remains unfixed,\nwe\u0027ll have to work around it.\n\nrust-openssl\u0027s bindgen mode works around this by using the build.rs\nbindgen driver and registering a callback to fix the type. This won\u0027t\nwork for some of our consumers, which require a hermetic and\nreproducible builds. Instead, apply bssl-sys\u0027s workaround at the lib.rs\nlevel. This removes a divergence between bssl-sys and rust-openssl\u0027s\nbindgen mode.\n\nFixing these types does not mean we recommending using all of these\nconstants! Many of the options here are ill-defined or produce even more\nambiguous output than most. XN_FLAG_COMPAT is especially fun because it\nchange the calling convention! The only option anyone should use is\nXN_FLAG_RFC2253, as that\u0027s at least a well-defined output.\n\nFixed: 636\nChange-Id: Id34b4a46e0cfd6dcb275477d9bb915bda66c787d\nReviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/66228\nReviewed-by: Bob Beck \u003cbbe@google.com\u003e\nCommit-Queue: David Benjamin \u003cdavidben@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "718509e02105689a800504019d0fc50640660ccb",
      "old_mode": 33188,
      "old_path": "rust/bssl-sys/src/lib.rs",
      "new_id": "9edbd084c910a944c87a1cf65825b7d73d19faa5",
      "new_mode": 33188,
      "new_path": "rust/bssl-sys/src/lib.rs"
    }
  ]
}
