Skip to content

Commit fdd415a

Browse files
committed
[bazel] Disable WORKSPACE system
Prevents this from being re-enabled by accident. Signed-off-by: James Wainwright <[email protected]> (cherry picked from commit 7c906d6)
1 parent 958fe34 commit fdd415a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.bazelrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
33
# SPDX-License-Identifier: Apache-2.0
44

5-
# Enable bzlmod using both `MODULE.bazel` and `WORKSPACE.bzlmod`.
5+
# Enable bzlmod with `MODULE.bazel` and disable the `WORKSPACE` system.
66
common --enable_bzlmod
7+
common --enable_workspace=no
78

89
# https://docs.opentitan.org/doc/rm/c_cpp_coding_style/#cxx-version specifies
910
build --action_env=BAZEL_CXXOPTS="-std=gnu++14"

0 commit comments

Comments
 (0)