-
Notifications
You must be signed in to change notification settings - Fork 13.3k
user32 is long longer linked from windows version of rust - regression! #18975
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
Comments
I succeeded to build |
We recently switch to preferring the bundled |
cc @vadimcn |
@blairn, your nightly was built before #18797 was merged, though. This code compiles and runs without any problems using latest 64-bit nightly:
|
It works!, it works :) I am a very Happy Blair! |
This no longer works, and it use to.
the linker says...
ld: cannot find -luser32.dll
when using the code.
[link(name = "user32")]
extern {
pub fn GetDC(hdc: *const HANDLE) -> HANDLE;
}
this is related to #18617 and #18325
The text was updated successfully, but these errors were encountered: