Skip to content

Commit

Permalink
Merge branch 'main' into extralibs
Browse files Browse the repository at this point in the history
  • Loading branch information
hlopko authored Mar 4, 2021
2 parents 43f5664 + 2de6496 commit 2c60280
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust/private/rustc.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ def collect_deps(label, deps, proc_macro_deps, aliases, toolchain):
linker_inputs = dep[CcInfo].linking_context.linker_inputs.to_list()
libs = [get_preferred_artifact(lib) for li in linker_inputs for lib in li.libraries]
transitive_noncrate_libs.append(depset(libs))
transitive_noncrates.append(depset(dep[CcInfo].linking_context.linker_inputs))
transitive_noncrates.append(dep[CcInfo].linking_context.linker_inputs)
elif BuildInfo in dep:
if build_info:
fail("Several deps are providing build information, only one is allowed in the dependencies", "deps")
Expand Down

0 comments on commit 2c60280

Please sign in to comment.