Skip to content

CI: Add windows-11-arm platform to test matrix - #1154

Merged
larskanis merged 11 commits into
masterfrom
winarm
Dec 28, 2025
Merged

larskanis merged 11 commits into
masterfrom
winarm

Conversation

@larskanis

@larskanis larskanis commented Jun 6, 2025

Copy link
Copy Markdown
Member

This fixes compatibility to aarch64-mingw-ucrt.

Fixes #1148

@larskanis
larskanis force-pushed the winarm branch 4 times, most recently from bee6f36 to d5cc14d Compare December 28, 2025 14:07
Usage in Ractor requires to call `freeze`, but this prohibits re-usage in subsequent specs.
This works around the reported issue:
  libffi/libffi#905
They hang like on ruby-3.4 and 3.3.
```
../../../../ext/ffi_c/DynamicLibrary.c:239:53: warning: format specifies type 'int' but the argument
      has type 'DWORD' (aka 'unsigned long') [-Wformat]
  239 |     snprintf(buf, size, "Failed with error %d: %s", error, message);
      |                                            ~~       ^~~~~
      |                                            %lu
```
`Ractor.make_shareable` doesn't freeze a module, since modules are Ractor-sharable by definition.
But from a users perspective it is unexpected, when it isn't frozen after calling freeze.
So better call super there.

Now one spec needs to be adjusted to avoid modifying the module after freeze.
@larskanis
larskanis merged commit 959198a into master Dec 28, 2025
97 of 100 checks passed
@larskanis
larskanis deleted the winarm branch December 28, 2025 18:48
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.

aarch64-mingw-urct support

1 participant