summaryrefslogtreecommitdiff
path: root/yjit/bindgen
diff options
context:
space:
mode:
authorMaxime Chevalier-Boisvert <maxime.chevalierboisvert@shopify.com>2023-01-18 15:41:28 -0500
committerGitHub <noreply@github.com>2023-01-18 15:41:28 -0500
commit6bb576fe759e3ef86b2ea484313013c51c39f388 (patch)
treee8d4a3b721937842e8bac66d05e6e5e60131f9b1 /yjit/bindgen
parent0fd5a664e743c2ea506a83c5abed145a0734e7e6 (diff)
downloadruby-6bb576fe759e3ef86b2ea484313013c51c39f388.tar.gz
YJIT: implement codegen for `String#empty?` (#7148)
YJIT: implement codegen for String#empty?
Diffstat (limited to 'yjit/bindgen')
-rw-r--r--yjit/bindgen/src/main.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/yjit/bindgen/src/main.rs b/yjit/bindgen/src/main.rs
index 23b32afbd0..98d9161866 100644
--- a/yjit/bindgen/src/main.rs
+++ b/yjit/bindgen/src/main.rs
@@ -81,6 +81,9 @@ fn main() {
// From include/ruby/internal/core/rbasic.h
.allowlist_type("RBasic")
+ .allowlist_type("rstring_offsets")
+ .allowlist_type("ruby_rstring_flags")
+
// From internal.h
// This function prints info about a value and is useful for debugging
.allowlist_function("rb_obj_info_dump")