Skip to content

Commit 11e9155

Browse files
committed
no flavors?
1 parent b28e8ce commit 11e9155

File tree

1 file changed

+2
-14
lines changed

1 file changed

+2
-14
lines changed

rust/private/rustc.bzl

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1984,20 +1984,8 @@ def _portable_link_flags(lib, use_pic, get_lib_name, for_windows = False, for_da
19841984
):
19851985
return [] if for_darwin else ["-Clink-arg=%s" % artifact.path]
19861986

1987-
if for_windows:
1988-
if flavor_msvc:
1989-
return [
1990-
"-lstatic=%s" % get_lib_name(artifact),
1991-
"-Clink-arg={}".format(artifact.basename),
1992-
]
1993-
else:
1994-
return [
1995-
"-Clink-arg=%s" % artifact.path,
1996-
]
1997-
else:
1998-
return [
1999-
"-Clink-arg=%s" % artifact.path,
2000-
]
1987+
return ["-Clink-arg=%s" % artifact.path]
1988+
20011989
elif _is_dylib(lib):
20021990
return [
20031991
"-Clink-arg=%s" % artifact.path,

0 commit comments

Comments
 (0)