From 744b0527eacb6f1d76c225c720c1a3ed23185ad4 Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Wed, 16 Nov 2022 16:31:14 -0800 Subject: bail on compilation if the comptime receiver is frozen --- yjit/bindgen/src/main.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'yjit/bindgen') 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") -- cgit v1.2.1