D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
rjit
/
Filename :
page-rjit_md.ri
back
Copy
U:RDoc::TopLevel[ i I"rjit/rjit.md:ETcRDoc::Parser::Markdowno:RDoc::Markup::Document:@parts[S:RDoc::Markup::Heading: leveli: textI"RJIT: Ruby JIT;To:RDoc::Markup::Paragraph;[I"LThis document has some tips that might be useful when you work on RJIT.;TS; ; i;I"Project purpose;To;;[I"gThis project is for experimental purposes. For production deployment, consider using YJIT instead.;TS; ; i;I"Supported platforms;To;;[I"\The following platforms are assumed to work. <code>linux-x86_64</code> is tested on CI.;To:RDoc::Markup::List: @type:BULLET:@items[o:RDoc::Markup::ListItem:@label0;[o;;[I"OS: Linux, macOS, BSD;To;;0;[o;;[I"Arch: x86_64;TS; ; i;I"configure;TS; ; i;I"--enable-rjit;To;;[I"�On supported platforms, <code>--enable-rjit</code> is set by default. You usually don't need to specify this. You may still manually pass <code>--enable-rjit</code> to try RJIT on unsupported platforms.;TS; ; i;I"--enable-rjit=dev;To;;[I"LIt enables <code>--rjit-dump-disasm</code> if libcapstone is available.;TS; ; i;I" make;TS; ; i;I"rjit-bindgen;To;;[I"zIf you see an "RJIT bindgen" GitHub Actions failure, please commit the <code>git diff</code> shown on the failed job.;To;;[I"�For doing the same thing locally, run <code>make rjit-bindgen</code> after installing libclang. macOS seems to have libclang by default. On Ubuntu, you can install it with <code>apt install libclang1</code>.;TS; ; i;I" ruby;TS; ; i;I"--rjit-stats;To;;[I"$This prints RJIT stats at exit.;TS; ; i;I"--rjit-dump-disasm;To;;[I"~This dumps all JIT code. You need to install libcapstone before configure and use <code>--enable-rjit=dev</code> on configure.;To; ;;;[o;;0;[o;;[I"AUbuntu: <code>sudo apt-get install -y libcapstone-dev</code>;To;;0;[o;;[I".macOS: <code>brew install capstone</code>;T: @file@:0@omit_headings_from_table_of_contents_below0