From 61dac174d497a3e229c8cb15d1879f5a23611086 Mon Sep 17 00:00:00 2001 From: Keith Smiley Date: Fri, 16 Feb 2024 08:47:44 -0800 Subject: [PATCH] Add j2objc fragment to all rules (#2402) This is required since some linking logic moved to starlark Fixes https://github.com/bazelbuild/rules_apple/issues/2400 --- apple/internal/rule_factory.bzl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apple/internal/rule_factory.bzl b/apple/internal/rule_factory.bzl index 0749508bdf..0f404667fd 100644 --- a/apple/internal/rule_factory.bzl +++ b/apple/internal/rule_factory.bzl @@ -135,7 +135,7 @@ def _create_apple_rule( cfg = cfg, doc = doc, executable = is_executable, - fragments = ["apple", "cpp", "objc"], + fragments = ["apple", "cpp", "objc", "j2objc"], toolchains = toolchains, **extra_args )