Skip to content

Commit a772281

Browse files
committed
Add max_compatibility_level = 3 for rules_swift dep
The upcoming `rules_swift` release bumps `compatibility_level` from 2 to 3. Without `max_compatibility_level = 3` on the `bazel_dep`, Bzlmod rejects the resolution when downstream projects use that release (or a git override at a commit past the bump). Other modules in the ecosystem (`rules_apple`, `rules_swift_package_manager`, `swift-syntax`, `swift-index-store`) already declare this.
1 parent 40bab89 commit a772281

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

MODULE.bazel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ bazel_dep(name = "rules_cc", version = "0.2.17")
1717
bazel_dep(
1818
name = "rules_swift",
1919
version = "3.5.0",
20+
max_compatibility_level = 3,
2021
repo_name = "build_bazel_rules_swift",
2122
)
2223
bazel_dep(

0 commit comments

Comments
 (0)