From fd3a85e7030cb0d73a70cccdd01ad156c680e426 Mon Sep 17 00:00:00 2001 From: Keith Smiley Date: Fri, 16 Feb 2024 08:36:12 -0800 Subject: [PATCH] Add j2objc fragment to all rules 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 )