diff --git a/.bazelrc b/.bazelrc index 04dc53c..abbdc41 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 996cee9..0000000 --- a/WORKSPACE.bazel +++ /dev/null @@ -1 +0,0 @@ -# Empty. diff --git a/examples/.bazelrc b/examples/.bazelrc index 6b694e2..1ced5a9 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 e69de29..0000000 diff --git a/templates/default/.bazelrc b/templates/default/.bazelrc index d8e349d..b8dd730 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 996cee9..0000000 --- a/templates/default/WORKSPACE.bazel +++ /dev/null @@ -1 +0,0 @@ -# Empty.