Add comment on what libs should be in target_libs

This commit is contained in:
Chris Denton 2023-03-04 18:37:14 +00:00
parent 8123eb49d4
commit b44b50a0f7
No known key found for this signature in database
GPG Key ID: 713472F2F45627DE

View File

@ -208,6 +208,8 @@ fn make_win_dist(
rustc_dlls.push("libgcc_s_seh-1.dll");
}
// Libraries necessary to link the windows-gnu toolchains.
// System libraries will be preferred if they are available (see #67429).
let target_libs = [
//MinGW libs
"libgcc.a",
@ -221,6 +223,7 @@ fn make_win_dist(
"libmoldname.a",
"libpthread.a",
//Windows import libs
//This should contain only the set of libraries necessary to link the standard library.
"libadvapi32.a",
"libbcrypt.a",
"libcomctl32.a",