summaryrefslogtreecommitdiff
path: root/yjit/bindgen
diff options
context:
space:
mode:
authorAaron Patterson <tenderlove@ruby-lang.org>2022-11-16 16:31:14 -0800
committerTakashi Kokubun <takashikkbn@gmail.com>2022-12-02 12:53:51 -0800
commit744b0527eacb6f1d76c225c720c1a3ed23185ad4 (patch)
treee9212794b4dc6371b8ef5db17eb2745de823e697 /yjit/bindgen
parent7b5ee9a8a60bb4d8cdc68aab9795109e766dbc96 (diff)
downloadruby-744b0527eacb6f1d76c225c720c1a3ed23185ad4.tar.gz
bail on compilation if the comptime receiver is frozen
Diffstat (limited to 'yjit/bindgen')
-rw-r--r--yjit/bindgen/src/main.rs1
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")