summaryrefslogtreecommitdiff
path: root/ruby.c
diff options
context:
space:
mode:
authorTatsuya Kawano <tatsuya@hibaridb.org>2022-10-18 00:26:36 +0800
committerGitHub <noreply@github.com>2022-10-17 12:26:36 -0400
commit07a93b1e378bf2ea356b0561e5e89e60d30fc684 (patch)
treecc3ed40fb50267ef8844f11ea37b693d81c157d9 /ruby.c
parentad3d210beab9d162b96e2601aa3ad896785b831b (diff)
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.
Notes
Notes: Merged-By: maximecb <maximecb@ruby-lang.org>
Diffstat (limited to 'ruby.c')
0 files changed, 0 insertions, 0 deletions