Remove outdated rules_cc dependency (#476)

Fixes #475
This commit is contained in:
Chris Sauer 2024-04-24 11:23:39 -07:00 committed by GitHub
parent 80b51b36d6
commit 15007f24e2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 1 additions and 15 deletions

View File

@ -17,7 +17,6 @@ bazel_dep(name = "platforms", version = "0.0.4")
# Build-only / test-only dependencies
bazel_dep(name = "stardoc", version = "0.5.6", dev_dependency = True, repo_name = "io_bazel_stardoc")
bazel_dep(name = "rules_pkg", version = "0.9.1", dev_dependency = True)
bazel_dep(name = "rules_cc", version = "0.0.2", dev_dependency = True)
# Needed for bazelci and for building distribution tarballs.
# If using an unreleased version of bazel_skylib via git_override, apply

View File

@ -52,16 +52,6 @@ load("@rules_pkg//:deps.bzl", "rules_pkg_dependencies")
rules_pkg_dependencies()
maybe(
name = "rules_cc",
repo_rule = http_archive,
sha256 = "4dccbfd22c0def164c8f47458bd50e0c7148f3d92002cdb459c2a96a68498241",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/rules_cc/releases/download/0.0.1/rules_cc-0.0.1.tar.gz",
"https://github.com/bazelbuild/rules_cc/releases/download/0.0.1/rules_cc-0.0.1.tar.gz",
],
)
load("//lib:unittest.bzl", "register_unittest_toolchains")
register_unittest_toolchains()

View File

@ -14,7 +14,6 @@
"""Unit tests for build_test.bzl."""
load("@rules_cc//cc:defs.bzl", "cc_library")
load("//rules:build_test.bzl", "build_test")
# buildifier: disable=unnamed-macro
@ -31,7 +30,7 @@ def build_test_test_suite():
)
# Use it in a non-test target
cc_library(
native.cc_library(
name = "build_test__build_target",
srcs = [":build_test__make_src"],
)

View File

@ -1,4 +1,3 @@
load("@rules_cc//cc:defs.bzl", "cc_binary")
load("//rules:copy_file.bzl", "copy_file")
load("//rules:native_binary.bzl", "native_binary", "native_test")

View File

@ -1,4 +1,3 @@
load("@rules_cc//cc:defs.bzl", "cc_binary")
load("//rules:diff_test.bzl", "diff_test")
load("//rules:run_binary.bzl", "run_binary")
load("//rules:write_file.bzl", "write_file")