summaryrefslogtreecommitdiff
path: root/version.c
diff options
context:
space:
mode:
-rw-r--r--version.c10
1 files changed, 7 insertions, 3 deletions
@@ -43,6 +43,7 @@ const char ruby_platform[] = RUBY_PLATFORM;
const int ruby_level = RUBY_LEVEL;
const char ruby_description[] = RUBY_DESCRIPTION_WITH("");
static const char ruby_description_with_jit[] = RUBY_DESCRIPTION_WITH(" +JIT");
const char ruby_copyright[] = RUBY_COPYRIGHT;
const char ruby_engine[] = "ruby";
@@ -105,6 +106,9 @@ Init_ruby_description(void)
if (MJIT_OPTS_ON) {
description = MKSTR(description_with_jit);
}
else {
description = MKSTR(description);
}
@@ -121,13 +125,13 @@ ruby_show_version(void)
if (MJIT_OPTS_ON) {
PRINT(description_with_jit);
}
else {
PRINT(description);
}
- if (rb_yjit_enabled_p()) {
- fputs("YJIT is enabled\n", stdout);
- }
#ifdef RUBY_LAST_COMMIT_TITLE
fputs("last_commit=" RUBY_LAST_COMMIT_TITLE, stdout);
#endif