The BuildParameters that we were previously inspecting contained some parameters that SwiftPM synthesizes and that weren’t specified on the command line. For example, it contains -g for all languages. This causes us to add -Xswiftc -g -Xcc -g -Xcxx -g to the swift build invocations for preparation, which is not necessary.
The
BuildParameters
that we were previously inspecting contained some parameters that SwiftPM synthesizes and that weren’t specified on the command line. For example, it contains-g
for all languages. This causes us to add-Xswiftc -g -Xcc -g -Xcxx -g
to theswift build
invocations for preparation, which is not necessary.