Skip to content

Commit ab682d8

Browse files
authored
[bazel] Fix missing dependencies (#1796)
When using the more strict dependencies feature these missing dependencies caused build failures. This is now enabled in this project to catch these sooner.
1 parent 82665d2 commit ab682d8

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

.bazelrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
common --enable_bzlmod
2+
common --incompatible_use_host_features
3+
4+
build --features=swift.use_explicit_swift_module_map
5+
build --host_features=swift.use_explicit_swift_module_map
26

37
test --test_output=errors

.bazelversion

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
6.0.0
1+
6.2.0

BUILD.bazel

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ swift_syntax_library(
3535
":SwiftDiagnostics",
3636
":SwiftOperators",
3737
":SwiftParser",
38+
":SwiftSyntaxMacroExpansion",
39+
":SwiftSyntaxMacros",
3840
],
3941
)
4042

@@ -106,6 +108,7 @@ swift_syntax_library(
106108
deps = [
107109
":SwiftParser",
108110
":SwiftSyntax",
111+
":SwiftSyntaxBuilder",
109112
],
110113
)
111114

0 commit comments

Comments
 (0)