Skip to content

Commit

Permalink
rustc: add list of dylibs to failure message about runtime linking
Browse files Browse the repository at this point in the history
This will at least let me debug a test failure.
  • Loading branch information
durin42 committed Feb 26, 2021
1 parent 63e2b26 commit ccd3860
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rust/private/rustc.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -752,9 +752,10 @@ def _compute_rpaths(toolchain, output_dir, dep_info):
if not dylibs:
return depset([])
if toolchain.os != "linux":
fail("Runtime linking is not supported on {}, but found {}".format(
fail("Runtime linking is not supported on {}, but found {} with libraries {}".format(
toolchain.os,
dep_info.transitive_noncrates,
dylibs,
))

# Multiple dylibs can be present in the same directory, so deduplicate them.
Expand Down

0 comments on commit ccd3860

Please sign in to comment.