зеркало из https://github.com/github/ruby.git
YJIT: check machine arch before enabling
So we don't try to run x64 on ARM.
This commit is contained in:
Родитель
b74d6563a6
Коммит
c062028d37
6
yjit.c
6
yjit.c
|
@ -22,10 +22,10 @@
|
|||
# define YJIT_DUMP_MODE 0
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
# define PLATFORM_SUPPORTED_P 0
|
||||
#else
|
||||
#if defined(__x86_64__) && !defined(_WIN32)
|
||||
# define PLATFORM_SUPPORTED_P 1
|
||||
#else
|
||||
# define PLATFORM_SUPPORTED_P 0
|
||||
#endif
|
||||
|
||||
// USE_MJIT comes from configure options
|
||||
|
|
Загрузка…
Ссылка в новой задаче