Skip to content

Commit 3f19974

Browse files
committed
Bazel: fix transition on non-macOS
1 parent b3e29bd commit 3f19974

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

swift/rules.bzl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,15 @@ def _transition_impl(settings, attr):
3131
"//command_line_option:cxxopt": [
3232
"-std=c++20",
3333
],
34+
"//command_line_option:linkopt": [],
3435
},
3536
"windows": {
37+
"//command_line_option:copt": [],
3638
"//command_line_option:cxxopt": [
3739
"/std:c++20",
3840
"--cxxopt=/Zc:preprocessor",
3941
],
42+
"//command_line_option:linkopt": [],
4043
},
4144
}[attr.os]
4245

0 commit comments

Comments
 (0)