Swift: Skip -scan-dependencies compiler calls

These do not produce any useful data and just crash our frontend.
This commit is contained in:
Jeroen Ketema
2025-12-10 10:11:41 +01:00
parent e9aa6ddf53
commit 3cabcfef75

View File

@@ -127,6 +127,9 @@ function RegisterExtractorPack(id)
if compilerArguments.argv[1] == '-emit-supported-features' then
return nil
end
if compilerArguments.argv[1] == '-scan-dependencies' then
return nil
end
strip_unsupported_args(compilerArguments.argv)
replace_resource_dir(compilerPath, compilerArguments.argv)