Repository navigation
Add Win32_Foundation feature to windows-sys dep. - #547
Conversation
This is needed by the following functions we use in the easy API Windows suppport: + `windows_sys::Win32::System::LibraryLoader::GetProcAddress` + `windows_sys::Win32::System::LibraryLoader::GetModuleHandleW`
|
I stumbled upon this here: a-scie/ptex@feb181e I checked out the windows-sys docs and then the the code itself, and this boiled down to a missing feature to support |
|
Ok, the test failure in nightly is due to this issue rust-lang/rust#120910 which is actually an issue in the ctest2 infra dep chain exposed by nightly. I'm going to pause my work on this today instead of diving in on garando-syntax issue right away. |
|
Alright, gave it a shot here: JohnTitor/garando#22 |
|
Thanks! Also thanks for helping out with CI here! I'm going to additionally try to fix CI while these changes propagate in #550 by pinning nightlies. In the meantime, would you also be able to help add a CI job that catches this mistake? It wasn't caught previously on CI so I think it'd be good to have a build/test invocation that does catch this. |
|
Or, actually, I'm about to publish anyway for #549 so I'm going to merge this as well. That being said if you're still up for helping out with CI that would be much appreciated! |
The fix in sagebind/curl-rust#547 got released quickly!
The fix in sagebind/curl-rust#547 got released quickly!
I'm a bit out of my depth here it seems. I can't for the life of me see how this even compiles on Windows (which I have for local testing), but it does just fine. I am clearly clueless to expect that if |
|
Ah ok no worries, I can try to dig in later to see what's going on |
|
The feature didn't show up as a problem due to feature unification with I think the only way to catch that kind of issue is to use something like |
|
Thanks for the explanation @ehuss. Feature unification was not something I knew about before. You've got me reading up! |
This is needed by the following functions we use in the easy API
Windows suppport:
windows_sys::Win32::System::LibraryLoader::GetProcAddresswindows_sys::Win32::System::LibraryLoader::GetModuleHandleW