Skip to content

Commit 3cabcfe

Browse files
committed
Swift: Skip -scan-dependencies compiler calls
These do not produce any useful data and just crash our frontend.
1 parent e9aa6dd commit 3cabcfe

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

swift/tools/tracing-config.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,9 @@ function RegisterExtractorPack(id)
127127
if compilerArguments.argv[1] == '-emit-supported-features' then
128128
return nil
129129
end
130+
if compilerArguments.argv[1] == '-scan-dependencies' then
131+
return nil
132+
end
130133

131134
strip_unsupported_args(compilerArguments.argv)
132135
replace_resource_dir(compilerPath, compilerArguments.argv)

0 commit comments

Comments
 (0)