Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add GCC to runtime dependencies #127
Ruby 2.6.0 ships with a JIT (just in time compiler) that utilizes GCC (or any other
The design alternatives can be found in this document
This PR adds the
It looks like this works with only
Testing JIT on the stack images testing
On a currently running Heroku-18 dyno with Ruby 2.6:
On a local docker image with
For more output you can also apply
Also looks like you can get a return status code by trying to interact with MJIT internals if it's not active. On current Heroku 18 dyno:
For the record, @schneems and I have been discussing possibly using musl instead of GCC to reduce impact.
Our thinking now is therefore that the slug size reduction isn't worth the fairly large effort it would be to switch to musl instead of gcc.