Skip to content

Commit b44b50a

Browse files
committed
Add comment on what libs should be in target_libs
1 parent 8123eb4 commit b44b50a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/bootstrap/dist.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,8 @@ fn make_win_dist(
208208
rustc_dlls.push("libgcc_s_seh-1.dll");
209209
}
210210

211+
// Libraries necessary to link the windows-gnu toolchains.
212+
// System libraries will be preferred if they are available (see #67429).
211213
let target_libs = [
212214
//MinGW libs
213215
"libgcc.a",
@@ -221,6 +223,7 @@ fn make_win_dist(
221223
"libmoldname.a",
222224
"libpthread.a",
223225
//Windows import libs
226+
//This should contain only the set of libraries necessary to link the standard library.
224227
"libadvapi32.a",
225228
"libbcrypt.a",
226229
"libcomctl32.a",

0 commit comments

Comments
 (0)