Last active
November 22, 2023 06:37
-
-
Save jitingcn/16c492b36575112febe1c82d3e45fe2a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/version.c b/version.c | |
index b5b0bfd..52bc832 100644 | |
--- a/version.c | |
+++ b/version.c | |
@@ -56,9 +56,9 @@ const int ruby_api_version[] = { | |
# define RUBY_FULL_REVISION RUBY_REVISION | |
#endif | |
#ifdef YJIT_SUPPORT | |
-#define YJIT_DESCRIPTION " +YJIT " STRINGIZE(YJIT_SUPPORT) | |
+#define YJIT_DESCRIPTION " +jemalloc +YJIT " STRINGIZE(YJIT_SUPPORT) | |
#else | |
-#define YJIT_DESCRIPTION " +YJIT" | |
+#define YJIT_DESCRIPTION " +jemalloc +YJIT" | |
#endif | |
const char ruby_version[] = RUBY_VERSION; | |
const char ruby_revision[] = RUBY_FULL_REVISION; | |
@@ -175,9 +175,9 @@ void | |
Init_ruby_description(ruby_cmdline_options_t *opt) | |
{ | |
const char *const jit_opt = | |
- RJIT_OPTS_ON ? " +RJIT" : | |
+ RJIT_OPTS_ON ? " +jemalloc +RJIT" : | |
YJIT_OPTS_ON ? YJIT_DESCRIPTION : | |
- ""; | |
+ " +jemalloc"; | |
define_ruby_description(jit_opt); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment