Skip to content

Commit b510b50

Browse files
committed
chore: upgrade to bazel 8
1 parent 134315e commit b510b50

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

.bazelrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ build:windows --extra_execution_platforms=//bazel/platforms:x64_windows-clang-cl
7070
build:windows --features=static_link_msvcrt
7171
build:windows --cxxopt=/std:c++17
7272
build:windows --host_cxxopt=/std:c++17
73+
# TODO: Remove once https://github.com/bazelbuild/rules_kotlin/issues/1309 is addressed.
74+
build:windows --legacy_external_runfiles
7375
# Required as PATH doubles as the shared library search path on Windows and the
7476
# Java agent functionality depends on system-provided shared libraries.
7577
test:windows --noincompatible_strict_action_env

.bazelversion

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7.6.2
1+
8.4.2

MODULE.bazel

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ bazel_dep(name = "rules_jvm_external", version = "6.8")
2727
bazel_dep(name = "rules_kotlin", version = "2.1.9")
2828
bazel_dep(name = "rules_license", version = "1.0.0")
2929
bazel_dep(name = "rules_pkg", version = "1.1.0")
30+
bazel_dep(name = "rules_cc", version = "0.2.12")
3031
bazel_dep(name = "toolchains_llvm", version = "1.5.0")
3132

3233
################################################################################
@@ -432,7 +433,7 @@ llvm.sysroot(
432433
use_repo(llvm, "llvm_toolchain")
433434

434435
# Required by the reference to the Windows toolchain in @local_config_cc from .bazelrc.
435-
cc_configure = use_extension("@bazel_tools//tools/cpp:cc_configure.bzl", "cc_configure_extension")
436+
cc_configure = use_extension("@rules_cc//cc:extensions.bzl", "cc_configure_extension")
436437
use_repo(cc_configure, "local_config_cc")
437438

438439
# Referenced in BUILD files.

0 commit comments

Comments
 (0)