Conversation
|
Sorry to bring bad news but I do believe this change could have broken I think Cargo doesn't understand |
|
The following workflow tests gnullvm: https://github.com/microsoft/windows-rs/blob/master/.github/workflows/cross.yml Is something missing? |
|
Feel free to contribute better tests and a fix if necessary. I don't have any experience with gnullvm. |
|
It's kind of weird because I wasn't able to reproduce it when cross-compiling yesterday (like on the CI) but let's wait for a response on msys2/MINGW-packages#16945 (comment) |
|
Sorry for the delay, it was quite hard issue to pinpoint with limited time and without platform to reproduce the problem. |
Provides a major update to all crates to deal with the
windows-targetsversioning issue described here: #2410 (comment)The
windows-targetscrate now contains version-specific lib file names ensuring semver compatibility.The
linkmacro was previously defined in both thewindowsandwindows-syscrates and thus inaccessible to thewindows-bindgen's standalone code generation. It has been consolidated into thewindows-targetscrate shared by all. This ensures correct lib versioning is handled automatically by thewindows-targetscrate and everyone can now enjoy optionalraw-dylibsupport.A workaround is provided to merge the metadata from the previous release to ensure the new libs are additive only until v46 yanked some functions - intentional? win32metadata#1496 is fixed.
Once this is merged, I plan to yank the 0.47 crates and release a major new version (0.48) of all the crates.
Fixes: #2410
Fixes: #2411