Skip to content

Commit 938a038

Browse files
committed
rules_cc: update. Released upstream version contains fix.
We had to pin rules_cc to a particular commit to contain a needed fix; the version has been released in the meantime, so simplify that. Signed-off-by: Henner Zeller <hzeller@google.com>
1 parent 23d8380 commit 938a038

2 files changed

Lines changed: 23 additions & 15 deletions

File tree

MODULE.bazel

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ module(
77

88
bazel_dep(name = "platforms", version = "0.0.11")
99
bazel_dep(name = "bazel_skylib", version = "1.7.1")
10+
bazel_dep(name = "rules_cc", version = "0.1.2")
1011
bazel_dep(name = "rules_flex", version = "0.3.1")
1112
bazel_dep(name = "rules_bison", version = "0.3.1")
1213
bazel_dep(name = "rules_jvm_external", version = "6.4")
@@ -17,17 +18,6 @@ git_override(
1718
remote = "https://github.com/bazelbuild/rules_scala",
1819
)
1920

20-
# The current rules_cc 0.1.1 hardcodes script locations to `#!/bin/bash`
21-
# instead of using `#!/usr/bin/env bash`.
22-
# This is fixed by https://github.com/bazelbuild/rules_cc/pull/306 but
23-
# is not released yet. Use rules_cc from that commit.
24-
bazel_dep(name = "rules_cc", version = "0.1.1")
25-
git_override(
26-
module_name = "rules_cc",
27-
commit = "d74915024017250e46d95e91a3defc34174effe0",
28-
remote = "https://github.com/bazelbuild/rules_cc",
29-
)
30-
3121
bazel_dep(name = "rules_verilator", version = "5.034")
3222
single_version_override(
3323
module_name = "rules_verilator",

MODULE.bazel.lock

Lines changed: 22 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)