diff --git a/.bazelrc b/.bazelrc index 04dc53cf..abbdc413 100644 --- a/.bazelrc +++ b/.bazelrc @@ -1,6 +1,9 @@ # Don't inherit PATH and LD_LIBRARY_PATH. build --incompatible_strict_action_env +# Don't use the legacy workspace system. +build --noenable_workspace + # Enforce C++20 as the default for rules_cc, regardless of toolchain config. build --cxxopt=-std=c++20 --host_cxxopt=-std=c++20 diff --git a/WORKSPACE.bazel b/WORKSPACE.bazel deleted file mode 100644 index 996cee9a..00000000 --- a/WORKSPACE.bazel +++ /dev/null @@ -1 +0,0 @@ -# Empty. diff --git a/examples/.bazelrc b/examples/.bazelrc index 6b694e2f..1ced5a9a 100644 --- a/examples/.bazelrc +++ b/examples/.bazelrc @@ -1,6 +1,9 @@ # Don't inherit PATH and LD_LIBRARY_PATH. build --incompatible_strict_action_env +# Don't use the legacy workspace system. +build --noenable_workspace + # Enforce C++20 as the default for rules_cc, regardless of toolchain config. build --cxxopt=-std=c++20 --host_cxxopt=-std=c++20 diff --git a/examples/WORKSPACE.bazel b/examples/WORKSPACE.bazel deleted file mode 100644 index e69de29b..00000000 diff --git a/templates/default/.bazelrc b/templates/default/.bazelrc index d8e349d3..b8dd7305 100644 --- a/templates/default/.bazelrc +++ b/templates/default/.bazelrc @@ -1,6 +1,9 @@ # Don't inherit PATH and LD_LIBRARY_PATH. build --incompatible_strict_action_env +# Don't use the legacy workspace system. +build --noenable_workspace + # Enforce C++20 as the default for rules_cc, regardless of toolchain config. build --cxxopt=-std=c++20 --host_cxxopt=-std=c++20 diff --git a/templates/default/WORKSPACE.bazel b/templates/default/WORKSPACE.bazel deleted file mode 100644 index 996cee9a..00000000 --- a/templates/default/WORKSPACE.bazel +++ /dev/null @@ -1 +0,0 @@ -# Empty.