File tree 2 files changed +1
-2
lines changed
2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -1337,7 +1337,7 @@ def _make_link_flags_windows(linker_input_and_use_pic_and_ambiguous_libs):
1337
1337
linker_input , use_pic , ambiguous_libs = linker_input_and_use_pic_and_ambiguous_libs
1338
1338
ret = []
1339
1339
for lib in linker_input .libraries :
1340
- artifact = _get_disambiguated_artifact (linker_input , use_pic , ambiguous_libs )
1340
+ artifact = _get_disambiguated_artifact (lib , use_pic , ambiguous_libs )
1341
1341
if lib .alwayslink :
1342
1342
ret .extend (["-C" , "link-arg=/WHOLEARCHIVE:%s" % artifact .path ])
1343
1343
elif lib .static_library or lib .pic_static_library :
Original file line number Diff line number Diff line change @@ -22,6 +22,5 @@ rust_test(
22
22
name = "main" ,
23
23
srcs = ["main.rs" ],
24
24
edition = "2018" ,
25
- rustc_flags = ["--print=link-args" ],
26
25
deps = ["direct" ],
27
26
)
You can’t perform that action at this time.
0 commit comments