Skip to content

Commit 998f8e6

Browse files
committed
tests: use rules_cc 0.0.13 for ignore_root_user_error test
This is so that the test works with Bazel@head
1 parent 72ddf0c commit 998f8e6

File tree

1 file changed

+9
-2
lines changed
  • tests/integration/ignore_root_user_error

1 file changed

+9
-2
lines changed

tests/integration/ignore_root_user_error/WORKSPACE

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
2+
3+
http_archive(
4+
name = "rules_cc",
5+
sha256 = "d9bdd3ec66b6871456ec9c965809f43a0901e692d754885e89293807762d3d80",
6+
strip_prefix = "rules_cc-0.0.13",
7+
urls = ["https://github.com/bazelbuild/rules_cc/releases/download/0.0.13/rules_cc-0.0.13.tar.gz"],
8+
)
9+
110
local_repository(
211
name = "rules_python",
312
path = "../../..",
@@ -13,8 +22,6 @@ python_register_toolchains(
1322
python_version = "3.9",
1423
)
1524

16-
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
17-
1825
http_archive(
1926
name = "bazel_skylib",
2027
sha256 = "c6966ec828da198c5d9adbaa94c05e3a1c7f21bd012a0b29ba8ddbccb2c93b0d",

0 commit comments

Comments
 (0)