Skip to content

Commit d72b6d7

Browse files
committed
added compiler flags for measurement
1 parent 33a1534 commit d72b6d7

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Package.swift

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -341,3 +341,12 @@ if useLocalDependencies {
341341
.package(url: "https://github.com/apple/swift-argument-parser.git", from: "1.2.2")
342342
]
343343
}
344+
345+
for target in package.targets {
346+
target.swiftSettings = target.swiftSettings ?? []
347+
target.swiftSettings?.append(
348+
.unsafeFlags([
349+
"-Xfrontend", "-warn-long-function-bodies=30", "-Xfrontend", "-warn-long-expression-type-checking=30"
350+
])
351+
)
352+
}

0 commit comments

Comments
 (0)