diff options
author | Noah Gibbs <noah.gibbs@shopify.com> | 2022-06-07 16:20:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-07 11:20:57 -0400 |
commit | 1598c9458a3ac8e0e4c179317a4e5bba506e3367 (patch) | |
tree | 707cfb4f9a94defcb78ff7fb4e06c52020b69e37 /yjit/bindgen | |
parent | deff9e2699c46075c3bb9b9e1bf9f721a12a2ca3 (diff) | |
download | ruby-1598c9458a3ac8e0e4c179317a4e5bba506e3367.tar.gz |
Add special-case code for the String unary plus operator (#5982)
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 6ccdbc0cc5..c3a18c9c6f 100644 --- a/yjit/bindgen/src/main.rs +++ b/yjit/bindgen/src/main.rs @@ -62,6 +62,7 @@ fn main() { // From include/ruby/internal/intern/string.h .allowlist_function("rb_utf8_str_new") .allowlist_function("rb_str_append") + .allowlist_function("rb_str_dup") // This struct is public to Ruby C extensions // From include/ruby/internal/core/rbasic.h |