1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Recommend installing libcapstone

This commit is contained in:
John Hawthorn 2021-05-21 12:33:37 -07:00 committed by Alan Wu
parent 1aace65dc0
commit 6ecb007f6e

View file

@ -37,6 +37,8 @@ git clone https://github.com/Shopify/ruby.git yjit
cd yjit
```
To support disassembly, libcapstone is also required (`brew install capstone` on macos).
The YJIT `ruby` binary can be built with either GCC or Clang. We recommend enabling debug symbols so that assertions are enabled during development as this makes debugging easier. Enabling debug mode will also make it possible for you to disassemble code generated by YJIT, and get access to stat counters. More detailed build instructions are provided in the [Ruby README](https://github.com/ruby/ruby#how-to-compile-and-install).
```