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 version-related keys to RbConfig::CONFIG #3664

Merged
merged 1 commit into from
Sep 16, 2024

Conversation

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Sep 13, 2024
Copy link
Member

@eregon eregon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the PR!

It raises some tricky questions about what some of these values should be.
I shared my thoughts there, if you agree please change them.
If not, that's fine too.
In any case it seems better to have these set than not at all for compatibility.

For critical stuff like ABI version RbConfig::CONFIG['ruby_version'] should already be used (and is by RubyGems & Bundler, etc).

lib/cext/ABI_check.txt Outdated Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
lib/truffle/rbconfig.rb Show resolved Hide resolved
lib/truffle/rbconfig.rb Outdated Show resolved Hide resolved
lib/truffle/rbconfig.rb Outdated Show resolved Hide resolved
lib/truffle/rbconfig.rb Show resolved Hide resolved
@rwstauner
Copy link
Collaborator Author

I agree, I'm not sure what they are all precisely supposed to represent, but for compatibility it seems best to have something.

@andrykonchin andrykonchin added the in-ci The PR is being tested in CI. Do not push new commits. label Sep 16, 2024
@graalvmbot graalvmbot merged commit e834bb5 into oracle:master Sep 16, 2024
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in-ci The PR is being tested in CI. Do not push new commits. OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants