diff options
author | Jean Boussier <[email protected]> | 2024-06-04 17:27:29 +0200 |
---|---|---|
committer | Jean Boussier <[email protected]> | 2024-06-04 19:21:01 +0200 |
commit | f7b53a75b648e7156f49c1d5c266e2d85f159fc6 () | |
tree | efa01c825057ff34b8f5c5e5e3b365be7aa475e5 /yjit/bindgen/src | |
parent | 86272257047aeac65ae0a5af100093e39c2ee00a (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.rs | 2 |
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") |