Skip to content

Commit 7fc7d19

Browse files
sayrerclaude
andcommitted
Add cc_library load to yams patch for Bazel 9 compatibility.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent b55dd37 commit 7fc7d19

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

patches/yams.patch

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,14 @@ diff --git a/BUILD b/BUILD
22
index 1234567..abcdefg 100644
33
--- a/BUILD
44
+++ b/BUILD
5-
@@ -1,4 +1,5 @@
5+
@@ -1,4 +1,6 @@
6+
+load("@rules_cc//cc:defs.bzl", "cc_library")
67
load("@build_bazel_rules_swift//swift:swift.bzl", "swift_library")
78
+load("@build_bazel_rules_swift//swift:swift_interop_hint.bzl", "swift_interop_hint")
8-
9+
910
cc_library(
1011
name = "CYaml",
11-
@@ -10,8 +11,14 @@ cc_library(
12+
@@ -10,8 +12,14 @@ cc_library(
1213
copts = ["-fPIC"],
1314
includes = ["Sources/CYaml/include"],
1415
linkstatic = True,
@@ -23,5 +24,5 @@ index 1234567..abcdefg 100644
2324
+ module_name = "CYaml",
2425
+ visibility = ["//visibility:public"],
2526
)
26-
27+
2728
swift_library(

0 commit comments

Comments
 (0)