Skip to content

Commit

Permalink
Use --experimental_downloader_config to improve stability
Browse files Browse the repository at this point in the history
  • Loading branch information
meteorcloudy committed Sep 5, 2023
1 parent 00dd74b commit 4e46ee3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ build:windows_arm64 --extra_toolchains=@local_config_cc//:cc-toolchain-arm64_win
# Enable Bzlmod
common:bzlmod --enable_bzlmod
common:bzlmod --check_direct_dependencies=error
common:bzlmod --experimental_downloader_config=bazel_downloader.cfg
common --config=bzlmod

# Enable Java 11 language features (https://github.com/bazelbuild/bazel/issues/14592)
Expand Down
1 change: 1 addition & 0 deletions bazel_downloader.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
rewrite (github.com)/(.*) https://mirror.bazel.build/$1/$2

0 comments on commit 4e46ee3

Please sign in to comment.