Skip to content

user32 is long longer linked from windows version of rust - regression! #18975

Closed
@blairn

Description

@blairn

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    O-windowsOperating system: Windows

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions