diff options
| author | Takashi Kokubun <takashikkbn@gmail.com> | 2023-10-17 17:47:13 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-18 00:47:13 +0000 |
| commit | 7a3a98e2be69fd3fa68e6ee1afa43c3160f22254 (patch) | |
| tree | 65cb9f0b3293f685183d7045d8b4738606952ea5 /include/ruby/internal/encoding/transcode.h | |
| parent | 36ee5d8ca824836e10ef18191d789a8b34f87fee (diff) | |
YJIT: Use RbConfig.ruby instead of EnvUtil.rubybin (#8689)
Some people encounter an issue that test_yjit uses the installed Ruby
instead of the currently-running Ruby. It's fixed when they remove the
installed Ruby.
However, test_yjit should run the currently-running Ruby for testing
YJIT in subprocesses. EnvUtil is unfortunately used outside tests as
well, so for compatibility reasons, this commit only changes the
argument given to EnvUtil.invoke_ruby to always use RbConfig.ruby.
Co-authored-by: Alan Wu <XrXr@users.noreply.github.com>
Diffstat (limited to 'include/ruby/internal/encoding/transcode.h')
0 files changed, 0 insertions, 0 deletions
