From 5b63ba67791474c718f829ca1e60f1159af56fab Mon Sep 17 00:00:00 2001 From: Philipp Stephani Date: Tue, 10 Dec 2024 02:30:55 +0100 Subject: [PATCH] Remove cc_toolchain_suite rule. cc_toolchain_suite is a no-op in Bazel 8. --- emacs/BUILD | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/emacs/BUILD b/emacs/BUILD index 03c722d4..ef5e84a4 100644 --- a/emacs/BUILD +++ b/emacs/BUILD @@ -131,16 +131,13 @@ alias( ], ) -cc_toolchain_suite( +alias( name = "windows_cc_toolchain", + actual = "@local_config_cc//:cc-compiler-x64_windows_mingw", target_compatible_with = [ "@platforms//os:windows", "@platforms//cpu:x86_64", ], - toolchains = { - "x64_windows": "@local_config_cc//:cc-compiler-x64_windows_mingw", - "x64_windows|mingw-gcc": "@local_config_cc//:cc-compiler-x64_windows_mingw", - }, ) cc_defaults(