Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add runtime using GraalJS on TruffleRuby #107

Merged
merged 7 commits into from
Oct 19, 2021

Commits on Oct 19, 2021

  1. Fix typo

    eregon committed Oct 19, 2021
    Configuration menu
    Copy the full SHA
    3bc074a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    181cb0a View commit details
    Browse the repository at this point in the history
  3. Add runtime using GraalJS on TruffleRuby

    * Use Truffle inner contexts to provide correct isolation between ExecJS::Context
    * To run the tests:
    TRUFFLERUBYOPT="--jvm --polyglot" bundle exec rake test:graaljs TESTOPTS="--seed=0 --verbose"
    * Full command without subprocess:
    TRUFFLERUBYOPT="--jvm --polyglot" jt -u jvm-js ruby -w -Ilib:test -I $PWD/vendor/bundle/truffleruby/*/gems/rake-13.0.1/lib $PWD/vendor/bundle/truffleruby/*/gems/rake-13.0.1/lib/rake/rake_test_loader.rb test/test_execjs.rb --seed=0 --verbose
    * Try command:
    TRUFFLERUBYOPT="--jvm --polyglot" jt -u jvm-js ruby -Ilib -rexecjs -e 'p ExecJS.eval("2 + 3")'
    eregon committed Oct 19, 2021
    Configuration menu
    Copy the full SHA
    566d611 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    05476fa View commit details
    Browse the repository at this point in the history
  5. Only warn if $VERBOSE

    * If the GraalJSRuntime is not used it is not necessarily an issue,
      as it e.g. fall back to an ExternalRuntime like node.
    eregon committed Oct 19, 2021
    Configuration menu
    Copy the full SHA
    f29ad3e View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    e24e381 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    8d4412a View commit details
    Browse the repository at this point in the history