summaryrefslogtreecommitdiff
path: root/yjit/bindgen/src/main.rs
diff options
context:
space:
mode:
authorAlan Wu <[email protected]>2022-12-08 15:03:47 -0500
committerAlan Wu <[email protected]>2022-12-08 17:35:18 -0500
commite714907d82f486c13fc1ea5e3ad291dabf4e7fbe ()
tree2799323aba2dcbed34035dce5c3f00b15dc311bd /yjit/bindgen/src/main.rs
parent51ef991d8dabadf8fbd46ad02cd9fea3c4d06f62 (diff)
YJIT: Upgrade bindgen to stabilize and reduce output
The new version has an option to merge everything into a big `extern "C"` block and it's nicer. More importantly, this upgrade fixes an issue where Ubuntu with Clang 12 and macOS with Clang 14 gave a one line diff for `rb_shape_t`. It was slightly annoying because we use macOS locally.
Notes: Merged: https://.com/ruby/ruby/pull/6887
-rw-r--r--yjit/bindgen/src/main.rs3
1 files changed, 3 insertions, 0 deletions
@@ -50,6 +50,9 @@ fn main() {
// Don't want to copy over C comment
.generate_comments(false)
// Don't want layout tests as they are platform dependent
.layout_tests(false)