message: Add artifact name patterns to the cuda toolchain on Windows
  With these Bazel generates typical Windows names (e.g. adds .exe extension to binaries, .dll to shared libraries etc.).
diff: load(
  "@bazel_tools//tools/cpp:cc_toolchain_config_lib.bzl",
  "action_config",
  + "artifact_name_pattern",
  "env_entry",
  "env_set",
  "feature",
  @@ -971,6 +972,7 @@ def _impl(ctx):
  linker_path = ctx.attr.host_compiler_path,
  strip_path = ctx.attr.host_compiler_prefix + "/strip",
  )
  + artifact_name_patterns = []
  elif (cpu == "local"):
  toolchain_identifier = "local_linux"
  target_cpu = "local"
  @@ -984,6 +986,7 @@ def _impl(ctx):
  linker_path = ctx.attr.host_compiler_path,
  strip_path = ctx.attr.host_compiler_prefix + "/strip",
  )
  + artifact_name_patterns = []
  elif (cpu == "x64_windows"):
  toolchain_identifier = "local_windows"
  target_cpu = "x64_windows"
  @@ -997,6 +1000,38 @@ def _impl(ctx):
  linker_path = ctx.attr.msvc_link_path,
  strip_path = "fake_tool_strip_not_supported",
  )
  + artifact_name_patterns = [
  + artifact_name_pattern(
  + category_name = "object_file",
  + prefix = "",
  + extension = ".obj",
  + ),
  + artifact_name_pattern(
  + category_name = "static_library",
  + prefix = "",
  + extension = ".lib",
  + ),
  + artifact_name_pattern(
  + category_name = "alwayslink_static_library",
  + prefix = "",
  + extension = ".lo.lib",
  + ),
  + artifact_name_pattern(
  + category_name = "executable",
  + prefix = "",
  + extension = ".exe",
  + ),
  + artifact_name_pattern(
  + category_name = "dynamic_library",
  + prefix = "",
  + extension = ".dll",
  + ),
  + artifact_name_pattern(
  + category_name = "interface_library",
  + prefix = "",
  + extension = ".if.lib",
  + ),
  + ]
  else:
  fail("Unreachable")
  @@ -1007,7 +1042,7 @@ def _impl(ctx):
  ctx = ctx,
  features = _features(cpu, compiler, ctx),
  action_configs = action_configs,
  - artifact_name_patterns = [],
  + artifact_name_patterns = artifact_name_patterns,
  cxx_builtin_include_directories = ctx.attr.builtin_include_directories,
  toolchain_identifier = toolchain_identifier,
  host_system_name = "local",
  