Skip to content

Commit d6d8480

Browse files
committed
Swift: fix internal builds
1 parent c638789 commit d6d8480

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

misc/bazel/workspace.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,6 @@ def codeql_workspace(repository_name = "codeql"):
6161
name = "fishhook",
6262
commit = "aadc161ac3b80db07a9908851839a17ba63a9eb1",
6363
shallow_since = "1634071885 -0400",
64-
build_file = "//swift/tools/fishhook:BUILD.fishhook.bazel",
64+
build_file = "@%s//swift/tools/fishhook:BUILD.fishhook.bazel" % repository_name,
6565
remote = "https://github.com/facebook/fishhook",
6666
)
Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
load("@//swift:rules.bzl", "swift_cc_library")
2-
3-
swift_cc_library(
1+
cc_library(
42
name = "fishhook",
53
srcs = glob(["*.c"]),
64
hdrs = glob(["*.h"]),
75
strip_include_prefix = ".",
8-
visibility = ["@//swift:__subpackages__"],
6+
visibility = ["//visibility:public"],
97
)

0 commit comments

Comments
 (0)