Skip to content

Commit 82f0a15

Browse files
committed
Remove unnecessary requires for archiver_flags
These args don't use this variable, so it doesn't need to confuse things here (realistically if this isn't set this action will fail too)
1 parent 62a7164 commit 82f0a15

3 files changed

Lines changed: 0 additions & 3 deletions

File tree

cc/toolchains/args/archiver_flags/BUILD

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ cc_args(
4747
],
4848
"//conditions:default": ["rcsD"],
4949
}),
50-
requires_not_none = "//cc/toolchains/variables:output_execpath",
5150
)
5251

5352
cc_args(

tests/rule_based_toolchain/legacy_features_as_args/goldens/macos/archiver_flags.textproto

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ enabled: false
22
flag_sets {
33
actions: "c++-link-static-library"
44
flag_groups {
5-
expand_if_available: "output_execpath"
65
flags: "-D"
76
flags: "-no_warning_for_no_symbols"
87
flags: "-static"

tests/rule_based_toolchain/legacy_features_as_args/goldens/unix/archiver_flags.textproto

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ enabled: false
22
flag_sets {
33
actions: "c++-link-static-library"
44
flag_groups {
5-
expand_if_available: "output_execpath"
65
flags: "rcsD"
76
}
87
}

0 commit comments

Comments
 (0)