Skip to content

Rust executables which link Ruby recently broke #8

@ianks

Description

@ianks

As of a couple days ago, I noticed that Magnus' CI started failing on Windows. The test suite runs cargo test, which depends on linking libruby. The error code is a bit mysterious to me:

`D:\a\magnus\magnus\target\debug\deps\magnus-bbc43cc68a670100.exe` (exit code: 0xc0000142, STATUS_DLL_INIT_FAILED)

So compilation works properly, but when executing the tests some type of DLL cannot be initialized. When trying to fix the issue, I noticed that everything works for ruby-head, but 2.7, 3.0, and 3.1 have the same error.

I'm wondering if anything may have changed recently, or if you can help me figure out what's happening. Thank you 🙏

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions