Skip to content

Commit dd94ddd

Browse files
sayrerclaude
andcommitted
Patch yams MODULE.bazel to add rules_cc dep for Bazel 9.
The yams module doesn't declare rules_cc as a dependency, so @rules_cc is not visible from its BUILD file. Add it to make the cc_library load statement work. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent c1e212a commit dd94ddd

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

patches/yams.patch

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
diff --git a/MODULE.bazel b/MODULE.bazel
2+
index 1234567..abcdefg 100644
3+
--- a/MODULE.bazel
4+
+++ b/MODULE.bazel
5+
@@ -6,6 +6,7 @@
6+
)
7+
8+
bazel_dep(name = "apple_support", version = "1.15.1")
9+
+bazel_dep(name = "rules_cc", version = "0.2.17")
10+
bazel_dep(name = "rules_swift", version = "1.18.0", repo_name = "build_bazel_rules_swift", max_compatibility_level = 3)
11+
12+
bazel_dep(name = "platforms", version = "0.0.9", dev_dependency = True)
113
diff --git a/BUILD b/BUILD
214
index 1234567..abcdefg 100644
315
--- a/BUILD

0 commit comments

Comments
 (0)