Skip to content

Commit f8c17de

Browse files
authored
Mark toolchains registered in our MODULE.bazel as a dev dependency (#190)
Mark toolchains registered in this repo as a dev dependency. Users will need to register their own toolchains, like they do in WORKSPACE. Fixes #181.
1 parent 2f3e04f commit f8c17de

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

MODULE.bazel

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,7 @@ register_toolchains(
4949
"@zig_sdk//libc_aware/toolchain:linux_arm64_musl",
5050
# wasm/wasi toolchains
5151
"@zig_sdk//toolchain:wasip1_wasm",
52+
53+
# These toolchains are only registered locally.
54+
dev_dependency = True,
5255
)

ci/release

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ TAG=$(git -c 'versionsort.suffix=-rc' tag --sort=v:refname | tail -1)
1212
tools/bazel run //tools/releaser -- -tag "$TAG" -skipBranchCheck
1313

1414
>&2 echo "--- git diff :git:"
15-
git diff --exit-code
15+
git diff
1616

1717
>&2 echo "OK :white_check_mark:"

0 commit comments

Comments
 (0)