diff options
author | Alan Wu <[email protected]> | 2025-03-14 17:12:26 -0400 |
---|---|---|
committer | Takashi Kokubun <[email protected]> | 2025-04-18 21:53:00 +0900 |
commit | 19e8e45f69027b485484e4afdffbe17a9bf211ba () | |
tree | a05258eb96e8a4d373472c7450daf496aa271cbf /yjit | |
parent | fa7c3e6c9c0e7b6b0d0b1611c696ba74a6f45165 (diff) |
Rust tests: Load builtins (core library written in ruby)
Key here is calling rb_call_builtin_inits(), which sticking to public API for robustness is done by calling ruby_options(). Fixes: https://.com/Shopify/zjit/issues/61
Notes: Merged: https://.com/ruby/ruby/pull/13131
-rw-r--r-- | yjit/bindgen/src/main.rs | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -96,6 +96,8 @@ fn main() { // For testing .allowlist_function("ruby_init") .allowlist_function("ruby_init_stack") .allowlist_function("rb_funcallv") .allowlist_function("rb_protect") |