Skip to content

Commit f04eea0

Browse files
address buildifier
1 parent 26d3839 commit f04eea0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rust/private/rustc.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2317,10 +2317,10 @@ def portable_link_flags(
23172317
"-Clink-arg=-l{}".format(get_lib_name(artifact)),
23182318
]
23192319
elif _is_dylib(lib):
2320+
lib_file_name = artifact.basename
23202321
if for_windows or for_darwin:
23212322
use_lib_name = True
23222323
else:
2323-
lib_file_name = artifact.basename
23242324
use_lib_name = (lib_file_name.startswith("lib") and lib_file_name.endswith(".so"))
23252325

23262326
if use_lib_name:

0 commit comments

Comments
 (0)