diff options
| author | Takashi Kokubun <takashikkbn@gmail.com> | 2025-02-12 10:59:05 -0800 |
|---|---|---|
| committer | Takashi Kokubun <takashikkbn@gmail.com> | 2025-04-18 21:52:58 +0900 |
| commit | 43bb240bbd4bc54b3e1d711c49660502cc9fe01e (patch) | |
| tree | 93700326458561bb622c1628ffe6961c2a965efe | |
| parent | 6de43bdc3162bd6ddfad210c93882d15dba82791 (diff) | |
Disable stub code execution for now
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/13131
| -rw-r--r-- | zjit/src/lib.rs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/zjit/src/lib.rs b/zjit/src/lib.rs index b557602ccc..2696a20ca5 100644 --- a/zjit/src/lib.rs +++ b/zjit/src/lib.rs @@ -91,5 +91,9 @@ pub extern "C" fn rb_zjit_iseq_gen_entry_point(iseq: IseqPtr, _ec: EcPtr) -> *co println!("{}", disasm); } - start_ptr.raw_ptr(cb) + if false { + start_ptr.raw_ptr(cb) + } else { + std::ptr::null() + } } |
