From b790d198f9da87280b88889f9cc6426fe75e50ea Mon Sep 17 00:00:00 2001 From: Corentin Le Molgat Date: Wed, 11 Dec 2024 11:49:57 +0100 Subject: [PATCH] bazel: disable ndk_compat on windows --- BUILD.bazel | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/BUILD.bazel b/BUILD.bazel index 9b2a1f7..2ea5e07 100644 --- a/BUILD.bazel +++ b/BUILD.bazel @@ -393,6 +393,10 @@ cc_library( srcs = ["ndk_compat/cpu-features.c"], copts = C99_FLAGS, includes = INCLUDES + ["ndk_compat"], + target_compatible_with = select({ + "@platforms//os:windows": ["@platforms//:incompatible"], + "//conditions:default": [], + }), textual_hdrs = ["ndk_compat/cpu-features.h"], deps = [ ":cpu_features_macros",