diff options
author | Aaron Patterson <tenderlove@ruby-lang.org> | 2022-11-16 16:31:14 -0800 |
---|---|---|
committer | Takashi Kokubun <takashikkbn@gmail.com> | 2022-12-02 12:53:51 -0800 |
commit | 744b0527eacb6f1d76c225c720c1a3ed23185ad4 (patch) | |
tree | e9212794b4dc6371b8ef5db17eb2745de823e697 /yjit/bindgen | |
parent | 7b5ee9a8a60bb4d8cdc68aab9795109e766dbc96 (diff) | |
download | ruby-744b0527eacb6f1d76c225c720c1a3ed23185ad4.tar.gz |
bail on compilation if the comptime receiver is frozen
Diffstat (limited to 'yjit/bindgen')
-rw-r--r-- | yjit/bindgen/src/main.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/yjit/bindgen/src/main.rs b/yjit/bindgen/src/main.rs index 1b6838bb2e..0fa2c72d66 100644 --- a/yjit/bindgen/src/main.rs +++ b/yjit/bindgen/src/main.rs @@ -95,6 +95,7 @@ fn main() { // From ruby/internal/intern/object.h .allowlist_function("rb_obj_is_kind_of") + .allowlist_function("rb_obj_frozen_p") // From ruby/internal/encoding/encoding.h .allowlist_type("ruby_encoding_consts") |