We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b3dfcf commit d5e7891Copy full SHA for d5e7891
1 file changed
tools/worker/swift_runner.cc
@@ -908,6 +908,13 @@ void SwiftRunner::ProcessArguments(const std::vector<std::string> &args) {
908
auto it = args.begin();
909
tool_args_.push_back(*it++);
910
911
+ // NOTE: on linux tool modes like `-modulewrap` are used which must be passed
912
+ // outside of the args_ vector (so that its never part of a params file).
913
+ // check for those modes here and add them directly to tool args.
914
+ if (*it == "-modulewrap") {
915
+ tool_args_.push_back(*it++);
916
+ }
917
+
918
auto consumer = [&](absl::string_view arg) {
919
args_.push_back(std::string(arg));
920
};
0 commit comments