Skip to content

Commit c72cbc6

Browse files
authored
Remove rules_cc as a dependency (#761)
This repo has been abandoned in favor of the `@_builtins` repo (Starlark rules implemented in Bazel's core).
1 parent e99093b commit c72cbc6

File tree

8 files changed

+0
-18
lines changed

8 files changed

+0
-18
lines changed

examples/apple/objc_interop/BUILD

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
# vice versa when it is linked into the existing native linking rules for Apple
33
# platforms.
44

5-
load("@rules_cc//cc:defs.bzl", "objc_library")
65
load(
76
"//swift:swift.bzl",
87
"swift_binary",

examples/xplatform/c_from_swift/BUILD

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
load("@rules_cc//cc:defs.bzl", "cc_library")
21
load("//swift:swift.bzl", "swift_binary", "swift_library")
32

43
licenses(["notice"])

swift/repositories.bzl

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -57,15 +57,6 @@ def swift_rules_dependencies():
5757
sha256 = "5bbce1b2b9a3d4b03c0697687023ef5471578e76f994363c641c5f50ff0c7268",
5858
)
5959

60-
_maybe(
61-
http_archive,
62-
name = "rules_cc",
63-
# Latest 08-10-20
64-
urls = ["https://github.com/bazelbuild/rules_cc/archive/1477dbab59b401daa94acedbeaefe79bf9112167.tar.gz"],
65-
sha256 = "b87996d308549fc3933f57a786004ef65b44b83fd63f1b0303a4bbc3fd26bbaf",
66-
strip_prefix = "rules_cc-1477dbab59b401daa94acedbeaefe79bf9112167/",
67-
)
68-
6960
_maybe(
7061
http_archive,
7162
name = "com_github_apple_swift_protobuf",

test/fixtures/private_deps/BUILD

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
load("@rules_cc//cc:defs.bzl", "cc_library")
21
load("//swift:swift.bzl", "swift_library")
32
load("//test/fixtures:common.bzl", "FIXTURE_TAGS")
43

test/fixtures/swift_through_non_swift/BUILD

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
load("@rules_cc//cc:defs.bzl", "cc_library")
21
load("//swift:swift.bzl", "swift_library")
32
load("//test/fixtures:common.bzl", "FIXTURE_TAGS")
43

third_party/com_github_grpc_grpc_swift/BUILD.overlay

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
load("@rules_cc//cc:defs.bzl", "cc_library")
21
load(
32
"@build_bazel_apple_support//rules:universal_binary.bzl",
43
"universal_binary",

third_party/com_github_nlohmann_json/BUILD.overlay

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
load("@rules_cc//cc:defs.bzl", "cc_library")
2-
31
package(default_visibility = ["//visibility:public"])
42

53
cc_library(

tools/common/BUILD

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
load("@rules_cc//cc:defs.bzl", "cc_library")
2-
31
package(
42
default_visibility = ["//tools/worker:__pkg__"],
53
)

0 commit comments

Comments
 (0)