We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81b4220 commit 6a9a016Copy full SHA for 6a9a016
rust/private/rustc.bzl
@@ -258,7 +258,8 @@ def collect_deps(
258
dep_build_info = _get_build_info(dep)
259
260
if cc_info:
261
- linkstamps.append(cc_info.linking_context.linkstamps())
+ for li in cc_info.linking_context.linker_inputs.to_list():
262
+ linkstamps.extend(li.linkstamps)
263
264
if crate_info:
265
# This dependency is a rust_library
@@ -359,7 +360,7 @@ def collect_deps(
359
360
dep_env = build_info.dep_env if build_info else None,
361
),
362
build_info,
- depset(transitive = linkstamps),
363
+ depset(linkstamps),
364
)
365
366
def _collect_libs_from_linker_inputs(linker_inputs, use_pic):
0 commit comments