From d1b1703c86e00e2811b987ad9e690682dd434163 Mon Sep 17 00:00:00 2001 From: Austin Schuh Date: Wed, 3 Dec 2025 18:14:34 -0800 Subject: [PATCH] [bazel] Use lowercase repo name (#8441) --- shared/bazel/patches/rules_cc_windows.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared/bazel/patches/rules_cc_windows.patch b/shared/bazel/patches/rules_cc_windows.patch index d5f8528b8b..5833505937 100644 --- a/shared/bazel/patches/rules_cc_windows.patch +++ b/shared/bazel/patches/rules_cc_windows.patch @@ -182,7 +182,7 @@ index ce0dac5..ec68ab9 100644 should_detect_cpp_toolchain = "BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN" not in env or env["BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN"] != "1" if should_detect_cpp_toolchain: -+ if repository_ctx.os.name.find("windows") != -1: ++ if repository_ctx.os.name.lower().find("windows") != -1: + build_path = "@rules_cc//cc/private/toolchain:BUILD.windows_toolchains.tpl" + else: + build_path = "@rules_cc//cc/private/toolchain:BUILD.toolchains.tpl"