Merge pull request #9558 from protocolbuffers/exe-extensions

Change toolchain artifact name patterns
pull/9565/head
deannagarcia 3 years ago committed by GitHub
commit c578f59fc8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 17
      toolchain/cc_toolchain_config.bzl

@ -28,13 +28,16 @@ all_compile_actions = [
]
def _impl(ctx):
artifact_name_patterns = [
artifact_name_pattern(
category_name = "executable",
prefix = "",
extension = ".exe",
),
]
if 'mingw' in ctx.attr.target_full_name:
artifact_name_patterns = [
artifact_name_pattern(
category_name = "executable",
prefix = "",
extension = ".exe",
),
]
else:
artifact_name_patterns = []
tool_paths = [
tool_path(

Loading…
Cancel
Save