-
Notifications
You must be signed in to change notification settings - Fork 499
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve target version reliability #2412
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-targets
versioning issue described here: #2410 (comment)The
windows-targets
crate now contains version-specific lib file names ensuring semver compatibility.The
link
macro was previously defined in both thewindows
andwindows-sys
crates and thus inaccessible to thewindows-bindgen
's standalone code generation. It has been consolidated into thewindows-targets
crate shared by all. This ensures correct lib versioning is handled automatically by thewindows-targets
crate and everyone can now enjoy optionalraw-dylib
support.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