Skip to content

Audit set of bundled MinGW import libraries #47359

Open
@retep998

Description

The set of import libraries that Rust bundles should strictly be what is needed to link against the libraries that come with the Rust distribution. Missing an import library causes link errors while including unnecessary import libraries bloats the distribution.

Library Necessary
libadvapi32.a Yes
libbcrypt.a No
libcomctl32.a No
libcomdlg32.a No
libcredui.a Yes and missing!
libcrypt32.a No
libdbghelp.a Yes
libgdi32.a Yes
libimagehlp.a No
libiphlpapi.a No
libkernel32.a Yes
libmsimg32.a Yes
libmsvcrt.a Yes
libodbc32.a No
libole32.a No
liboleaut32.a No
libopengl32.a Yes
libpsapi.a Yes
librpcrt4.a No
libsecur32.a Yes and missing!
libsetupapi.a Yes
libshell32.a Yes
libuser32.a Yes
libuserenv.a Yes
libuuid.a No
libwinhttp.a No
libwinmm.a No
libwinspool.a Yes
libws2_32.a Yes
libwsock32.a No

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    A-linkageArea: linking into static, shared libraries and binariesC-enhancementCategory: An issue proposing an enhancement or a PR with one.O-windows-gnuToolchain: GNU, Operating system: WindowsT-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions