summaryrefslogtreecommitdiff
path: root/yjit/bindgen/src/main.rs
diff options
context:
space:
mode:
authorAlan Wu <[email protected]>2023-02-02 14:02:36 -0500
committerAlan Wu <[email protected]>2023-02-02 15:16:09 -0500
commit3b83b265f11965582d4b9b439eff8a501792ab68 ()
tree0fb9f50f4dfc98f8c165920c20954d5369f1078e /yjit/bindgen/src/main.rs
parent5b34839b0f9d164552f8da41b6ced2db1d2af3be (diff)
YJIT: Crash with rb_bug() when panicking
Helps with getting good bug reports in the wild. Intended to be backported to the 3.2.x series.
Notes: Merged: https://.com/ruby/ruby/pull/7232
-rw-r--r--yjit/bindgen/src/main.rs3
1 files changed, 3 insertions, 0 deletions
@@ -88,6 +88,9 @@ fn main() {
// This function prints info about a value and is useful for debugging
.allowlist_function("rb_obj_info_dump")
// From shape.h
.allowlist_function("rb_shape_get_shape_id")
.allowlist_function("rb_shape_get_shape_by_id")