Skip to content

Commit

Permalink
Enable archive_param_file feature by default for Windows (bazelbuild#…
Browse files Browse the repository at this point in the history
…17344)

Closes bazelbuild#17068.

PiperOrigin-RevId: 504229788
Change-Id: I7b6f7f4f2c8ccb802f5a76bd54eaf0a8358793b1

Co-authored-by: Googler <[email protected]>
  • Loading branch information
ShreeM01 and googlewalt authored Jan 26, 2023
1 parent 2ba1cbf commit 5a7eca2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/cpp/windows_cc_toolchain_config.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,7 @@ def _impl(ctx):

archive_param_file_feature = feature(
name = "archive_param_file",
enabled = True,
)

compiler_param_file_feature = feature(
Expand Down Expand Up @@ -1209,6 +1210,7 @@ def _impl(ctx):
if ctx.attr.cpu == "x64_windows" and ctx.attr.compiler == "mingw-gcc":
archive_param_file_feature = feature(
name = "archive_param_file",
enabled = True,
)

compiler_param_file_feature = feature(
Expand Down

0 comments on commit 5a7eca2

Please sign in to comment.