Skip to content

Commit 48fc400

Browse files
committed
Tweak compiler check
1 parent 77d7071 commit 48fc400

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

assets/test/targets/Plugins/BuildToolPlugin/BuildToolPlugin.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ struct SimpleBuildToolPlugin: BuildToolPlugin {
77
guard let sourceFiles = target.sourceModule?.sourceFiles else { return [] }
88

99
// Build tool plugins are not being called on Windows with Swift < 6.0.
10-
#if os(Windows) && swift(<6.0)
10+
#if os(Windows) && !compiler(>=6.0)
1111
return []
1212
#endif
1313

0 commit comments

Comments
 (0)