This will require generating import libraries using the object crate. I don't know what the exact format of import libraries is, but I do know that MSVC and MinGW use an incompatible format.
Rust 1.71.0 released which stabilizes this feature, so it might become high priority to implement this in the near future if windows-sys switches to it.
This will require generating import libraries using the object crate. I don't know what the exact format of import libraries is, but I do know that MSVC and MinGW use an incompatible format.