Skip to content

Commit 19a1d48

Browse files
Remove --define=supports_macros=1 check (#1344)
Our CI can properly check these now. Signed-off-by: Brentley Jones <github@brentleyjones.com>
1 parent 57ac5b7 commit 19a1d48

File tree

1 file changed

+0
-13
lines changed
  • examples/xplatform/macros

1 file changed

+0
-13
lines changed

examples/xplatform/macros/BUILD

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,6 @@ load("//swift:swift_test.bzl", "swift_test")
55

66
licenses(["notice"])
77

8-
config_setting(
9-
name = "supports_macros",
10-
values = {"define": "supports_macros=1"},
11-
)
12-
138
swift_library(
149
name = "stringify",
1510
srcs = ["Stringify.swift"],
@@ -31,10 +26,6 @@ swift_compiler_plugin(
3126
"StringifyMacroPlugin.swift",
3227
],
3328
module_name = "StringifyMacroPlugin",
34-
target_compatible_with = select({
35-
":supports_macros": [],
36-
"//conditions:default": ["@platforms//:incompatible"],
37-
}),
3829
deps = [
3930
"@SwiftSyntax",
4031
"@SwiftSyntax//:SwiftCompilerPlugin",
@@ -63,10 +54,6 @@ swift_binary(
6354
swift_test(
6455
name = "stringify_macro_test",
6556
srcs = ["StringifyMacroTests.swift"],
66-
target_compatible_with = select({
67-
":supports_macros": [],
68-
"//conditions:default": ["@platforms//:incompatible"],
69-
}),
7057
deps = [
7158
":stringify_macro",
7259
"@SwiftSyntax",

0 commit comments

Comments
 (0)