General

Profile

larskanis (Lars Kanis)

  • Login: larskanis
  • Registered on: 06/30/2012
  • Last sign in: 10/18/2026

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 3 25 28

Activity

11/18/2026

08:18 AM Ruby Revision 99405b91 (git): Enable Happy Exeballs v2 and hostname resolving on MINGW (#19921)
* Windows: Enable Happy Eyeballs v2 on MINGW
This is a follow-up to https://github.com/ruby/ruby/pull/18791
The native Win32 implementation shows the same characteristics like on MSWIN.
Connecting to `localhost` on a IPv4 listening soc...
larskanis (Lars Kanis)

11/06/2026

01:34 PM Ruby Revision dee5b35b (git): Fix callcc on Windows on ARM64
Otherwise using callcc fails with a segfault for instance in this test case:
TestEnsureAndCallcc#test_bug20655_extension_using_rb_ensure
(cherry picked from commit 142001cd64fcb7ec6896f04b0c837857590e26ce)
larskanis (Lars Kanis)

11/04/2026

01:48 AM Ruby Revision 2c46f0f5 (git): Fix coroutine implementaion on Windows-Arm64
When setjmp/longjmp/exceptions are used on Windows it's necessary to store+restore additional information from the TEB.
I didn't find any official documentation about the values to be saved, but found the corresponding boost/context impl...
larskanis (Lars Kanis)
01:48 AM Ruby Revision c3aee764 (git): Fix callcc on Windows on ARM64
Otherwise using callcc fails with a segfault for instance in this test case:
TestEnsureAndCallcc#test_bug20655_extension_using_rb_ensure
(cherry picked from commit 142001cd64fcb7ec6896f04b0c837857590e26ce)
larskanis (Lars Kanis)

10/17/2026

01:54 PM Ruby Feature #22400: Use rb_long_t for lengths so that String and Array can exceed 2GiB on mswin
Both MSWIN and MINGW intentionally use the same ABI. They only have a different toolset. So I don't think we should introduce a ABI difference on the ruby C interface for them.
Likewise there's no good reason to handle MINGW and MSWIN...
larskanis (Lars Kanis)

03/26/2026

11:25 AM Ruby Feature #21853: Make Embedded TypedData a public API
I found the original PR which added `RUBY_TYPED_EMBEDDABLE` very readable and expressive: https://github.com/ruby/ruby/pull/7440/changes
It allowed me understand and use the feature in swig and fxruby without any docs.
With the latest ...
larskanis (Lars Kanis)

03/25/2026

09:54 PM Ruby Revision c351ae72 (git): [ruby/rubygems] Fallback to copy symlinks on Windows
(https://github.com/ruby/rubygems/pull/9296)
Symlinks are not permitted by default for a Windows user. To use them, a switch called "Development Mode" in the system settings has to be enabled.
## What was the end-user or developer prob...
larskanis (Lars Kanis)

02/20/2026

10:33 PM Ruby Bug #21855: Bundle `win32-registry` or implement it without `fiddle`
Thanks for merging!
There is a second bug, that is fixed by making win32-registry a bundled gem: The gemspec of the default gem looks like so:
```ruby
$ cat c:\Ruby40-arm\lib\ruby\gems\4.0.0\specifications\default\win32-registry-0.1...
larskanis (Lars Kanis)
04:22 AM Ruby Bug #21855 (Closed): Bundle `win32-registry` or implement it without `fiddle`
Applied in changeset commit:git|f01f66ca249405ec125ba864e48e51944cc51c6f.
----------
Move win32-registry from default to bundled gems
Because win32-registry needs fiddle and fiddle is a bundled gem.
[Bug #21855]
larskanis (Lars Kanis)
09:24 PM Ruby Bug #21920 (Closed): LIBRUBYARG_SHARED contains -lgmp and other libraries for static linking
That recent commit introduced `MAINLIBS` into `LIBRUBYARG_SHARED`: https://github.com/ruby/ruby/commit/d256629bf9e194838d1837be74dcc0b8ff0bcfd6
Before that commit:
```
CONFIG["LIBRUBYARG_SHARED"] = "-l$(RUBY_SO_NAME)"
CONFIG["L...
larskanis (Lars Kanis)

Also available in: Atom