Fixes buildtools on Windows - Removed C++ options in .bazelrc since we by default using Bazel 7 which defauts to c++17 - Shorten the workspace name to avoid long path issue on Windows. Fixes https://github.com/bazelbuild/buildtools/issues/1210
diff --git a/.bazelrc b/.bazelrc index 78a0145..6d98943 100644 --- a/.bazelrc +++ b/.bazelrc
@@ -13,5 +13,3 @@ # https://github.com/bazelbuild/buildtools/issues/1204 common --noenable_bzlmod -build --cxxopt=-std=c++14 -build --host_cxxopt=-std=c++14
diff --git a/WORKSPACE b/WORKSPACE index 1e0328b..db3840a 100644 --- a/WORKSPACE +++ b/WORKSPACE
@@ -1,4 +1,4 @@ -workspace(name = "com_github_bazelbuild_buildtools") +workspace(name = "buildtools") load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") @@ -72,7 +72,7 @@ rules_proto_toolchains() -load("@com_github_bazelbuild_buildtools//buildifier:deps.bzl", "buildifier_dependencies") +load("//buildifier:deps.bzl", "buildifier_dependencies") buildifier_dependencies()