diff options
author | Tatsuya Kawano <tatsuya@hibaridb.org> | 2022-10-18 00:26:36 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-17 12:26:36 -0400 |
commit | 07a93b1e378bf2ea356b0561e5e89e60d30fc684 (patch) | |
tree | cc3ed40fb50267ef8844f11ea37b693d81c157d9 /internal | |
parent | ad3d210beab9d162b96e2601aa3ad896785b831b (diff) | |
download | ruby-07a93b1e378bf2ea356b0561e5e89e60d30fc684.tar.gz |
YJIT: Do not call `mprotect` when `mem_size` is zero (#6563)
This allows x86_64 based YJIT to run on Docker Desktop on Apple silicon (arm64)
Mac because it will avoid a subtle behavior difference in `mprotect` system call
between the Linux kernel and `qemu-x86_64` user space emulator.
Diffstat (limited to 'internal')
0 files changed, 0 insertions, 0 deletions