summaryrefslogtreecommitdiff
path: root/yjit/bindgen
diff options
context:
space:
mode:
authorJean Boussier <[email protected]>2024-06-04 17:27:29 +0200
committerJean Boussier <[email protected]>2024-06-04 19:21:01 +0200
commitf7b53a75b648e7156f49c1d5c266e2d85f159fc6 ()
treeefa01c825057ff34b8f5c5e5e3b365be7aa475e5 /yjit/bindgen
parent86272257047aeac65ae0a5af100093e39c2ee00a (diff)
Do not emit shape transition warnings when YJIT is compiling
[Bug #20522] If `Warning.warn` is redefined in Ruby, emitting a warning would invoke Ruby code, which can't safely be done when YJIT is compiling.
-rw-r--r--yjit/bindgen/src/main.rs2
1 files changed, 1 insertions, 1 deletions
@@ -100,7 +100,7 @@ fn main() {
.allowlist_function("rb_shape_get_shape_by_id")
.allowlist_function("rb_shape_id_offset")
.allowlist_function("rb_shape_get_iv_index")
- .allowlist_function("rb_shape_get_next")
.allowlist_function("rb_shape_id")
.allowlist_function("rb_shape_obj_too_complex")
.allowlist_var("SHAPE_ID_NUM_BITS")