Closed theory closed 3 weeks ago
I don't have time to debug issues on Windows right now. Might be related to PerlIO.
Yeah, I asked on Mastodon for thoughts, no takers. I'm sure someone who knows XS and Windows stuff can figure it out quickly. Alas, I know little about either myself. :-(
FWIW, the Appveyor tests on Windows passed with 0.290000: https://ci.appveyor.com/project/nwellnhof/perl-commonmark. But for some reason, the new commits didn't trigger a test run.
Huh, odd. I wonder if there's some difference in compiler toolchains at work here…
The main difference is that the Appveyor tests are run under ActivePerl.
Oh, interesting. The perl setup action uses plain old Perl, though there is an option to use Strawberry Perl. I wonder if it'd work there.
Fixed with bf07b5e and b5369d9.
Discovered as part of #12, and demonstrated in this 5.32 build on Windows, tests
t/02_accessors.t
andt/10_wrappers.t
appear to crash after running a single test. I did a little debugging in this build, and it looks like both crash on the call toCommonMark->parse_file
, which is defined in this XS code. Perhaps there's something there or in the cmark library'scmark_parse_file
that isn't compatible with Windows?