Skip to content

Commit e6ed087

Browse files
committed
fix: add .bazelrc flag to support rules_cc >=0.2.14, update workspace package versions to match bzlmod
1 parent b93c039 commit e6ed087

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

.bazelrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ common --lockfile_mode=update
2323

2424
# project-specific settings
2525
startup --windows_enable_symlinks
26+
# workaround for bazel8 error when --enable_workspace and --enable_bzlmod=false
27+
common --incompatible_autoload_externally=
2628

2729
# Allows tests to run bazelisk-in-bazel, since this is the cache folder used
2830
common:ci --disk_cache=~/.cache/bazel

d/repositories.bzl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ def rules_d_dependencies():
3131
)
3232
http_archive(
3333
name = "package_metadata",
34-
sha256 = "49ed11e5d6b752c55fa539cbb10b2736974f347b081d7bd500a80dacb7dbec06",
35-
strip_prefix = "supply-chain-0.0.5/metadata",
36-
url = "https://github.com/bazel-contrib/supply-chain/releases/download/v0.0.5/supply-chain-v0.0.5.tar.gz",
34+
sha256 = "5bd0cc7594ea528fd28f98d82457f157827d48cc20e07bcfdbb56072f35c8f67",
35+
strip_prefix = "supply-chain-0.0.6/metadata",
36+
url = "https://github.com/bazel-contrib/supply-chain/releases/download/v0.0.6/supply-chain-v0.0.6.tar.gz",
3737
)
3838

3939
########

e2e/smoke/WORKSPACE.bazel

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@ proto_bazel_features(name = "proto_bazel_features")
5757

5858
http_archive(
5959
name = "rules_cc",
60-
sha256 = "ae244f400218f4a12ee81658ff246c0be5cb02c5ca2de5519ed505a6795431e9",
61-
strip_prefix = "rules_cc-0.2.0",
62-
url = "https://github.com/bazelbuild/rules_cc/releases/download/0.2.0/rules_cc-0.2.0.tar.gz",
60+
sha256 = "92fed78a5a310f86c060dcaed20f396ef0198cc3d46a46fdea7c469042cf02ce",
61+
strip_prefix = "rules_cc-0.2.1",
62+
url = "https://github.com/bazelbuild/rules_cc/releases/download/0.2.1/rules_cc-0.2.1.tar.gz",
6363
)
6464

6565
load("@rules_cc//cc:repositories.bzl", "rules_cc_dependencies", "rules_cc_toolchains")

0 commit comments

Comments
 (0)