Skip to content

Commit 949751c

Browse files
committed
Drop debug info and pass correct variable to _get_disambiguated_artifact
1 parent 1e03d05 commit 949751c

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

rust/private/rustc.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1337,7 +1337,7 @@ def _make_link_flags_windows(linker_input_and_use_pic_and_ambiguous_libs):
13371337
linker_input, use_pic, ambiguous_libs = linker_input_and_use_pic_and_ambiguous_libs
13381338
ret = []
13391339
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)
13411341
if lib.alwayslink:
13421342
ret.extend(["-C", "link-arg=/WHOLEARCHIVE:%s" % artifact.path])
13431343
elif lib.static_library or lib.pic_static_library:

test/native_deps/BUILD.bazel

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,5 @@ rust_test(
2222
name = "main",
2323
srcs = ["main.rs"],
2424
edition = "2018",
25-
rustc_flags = ["--print=link-args"],
2625
deps = ["direct"],
2726
)

0 commit comments

Comments
 (0)