On Monday, July 6, 2026 11:15:57 AM Mountain Standard Time Simon Quigley 
wrote:
> The short of it is, rust-comrak used the regex-onig feature of syntect which
> segfaulted. I switched that to regex-fancy and it seems to work, along with
> an updated patch for ruby-commonmarker for enabling different features.

It looks like upstream ran into this problem, but only on their Windows 
builds.

# Windows: Ruby's runtime DLL already exports Oniguruma symbols, so statically
# linking a second copy (onig_sys) collides at link time and segfaults (xref 
#467).
# syntect-fancy swaps in the pure-Rust fancy-regex backend instead.

https://github.com/gjtorikian/commonmarker/blob/
95c54587a4339835c14aa5a13ba6a48644691507/ext/commonmarker/Cargo.toml#L29-L31

-- 
Soren Stoutner
[email protected]

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to