Skip to content

Support Ruby 3.1 UCRT binary #2

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

ashie
Copy link
Owner

@ashie ashie commented Jun 8, 2022

RubyInstaller has migrate from msvcrt.dll to ucrt.dll:
https://rubyinstaller.org/2021/12/31/rubyinstaller-3.1.0-1-released.html

So that symbols should be loaded from later one.
Althouth I considered introducing a new constant like UCRT_DLL, this
commit still using MSVCRT_DLL even if Ruby is run on ucrt.dll to keep
backward compatibility. I think replacing MSVCRT_DLL with UCRT_DLL
is almost meaningless, they won't used at same time.

Signed-off-by: Takuro Ashie ashie@clear-code.com

RubyInstaller has migrate from msvcrt.dll to ucrt.dll:
https://rubyinstaller.org/2021/12/31/rubyinstaller-3.1.0-1-released.html

So that symbols should be loaded from later one.
Althouth I considered introducing a new constant like `UCRT_DLL`, this
commit still using `MSVCRT_DLL` even if Ruby is run on ucrt.dll to keep
backward compatibility. I think replacing `MSVCRT_DLL` with `UCRT_DLL`
is almost meaningless, they won't used at same time.

Signed-off-by: Takuro Ashie <ashie@clear-code.com>
@ashie ashie force-pushed the support-ruby-3.1-ucrt-wip branch 13 times, most recently from 851ad99 to 1477962 Compare June 8, 2022 12:33
Signed-off-by: Takuro Ashie <ashie@clear-code.com>
@ashie ashie force-pushed the support-ruby-3.1-ucrt-wip branch from 1477962 to da4f415 Compare June 8, 2022 12:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant