summaryrefslogtreecommitdiff
path: root/ruby.c
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2023-03-07 23:30:49 -0800
committerTakashi Kokubun <takashikkbn@gmail.com>2023-03-07 23:31:39 -0800
commit4bf037bebdc37671ca292dc8f500e1bede077163 (patch)
tree3f7ad0da4eee718aa2e0bd890ec7b7528843c838 /ruby.c
parente93e780f3d37705a26a9160c60cc92255c1ff60a (diff)
downloadruby-4bf037bebdc37671ca292dc8f500e1bede077163.tar.gz
Update documentation about RJIT
Diffstat (limited to 'ruby.c')
-rw-r--r--ruby.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ruby.c b/ruby.c
index 72b69e71a2..2aa3ab8c32 100644
--- a/ruby.c
+++ b/ruby.c
@@ -286,12 +286,12 @@ usage(const char *name, int help, int highlight, int columns)
M("-W[level=2|:category]", "", "set warning level; 0=silence, 1=medium, 2=verbose"),
M("-x[directory]", "", "strip off text before #!ruby line and perhaps cd to directory"),
M("--jit", "", "enable JIT for the platform, same as " PLATFORM_JIT_OPTION),
-#if USE_RJIT
- M("--rjit", "", "enable C compiler-based JIT compiler (experimental)"),
-#endif
#if USE_YJIT
M("--yjit", "", "enable in-process JIT compiler"),
#endif
+#if USE_RJIT
+ M("--rjit", "", "enable pure-Ruby JIT compiler (experimental)"),
+#endif
M("-h", "", "show this message, --help for more info"),
};
static const struct ruby_opt_message help_msg[] = {