Commit bc0e2c8
committed
SwiftDriver: explicitly select RSP handling on Windows
When cross-compiling from Windows to Android, if we spill past the
command line limit, we would need to emit a response file. The response
file is emitted into the style of the build rather than the host. This
means that on Unix platforms, we need to indicate that the response file
is Windows not Unix.
We rely on the internal behaviour of the second flag being special cased
and emit the `--rsp-quoting=windows` parameter in the second argument
position to ensure that it is passed on the command line (as if the
argument is pushed into the response file, it will not be possible to
honour it for processing the file).1 parent 83f8460 commit bc0e2c8
File tree
1 file changed
+4
-0
lines changed- Sources/SwiftDriver/Jobs
1 file changed
+4
-0
lines changedLines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
47 | 51 | | |
48 | 52 | | |
49 | 53 | | |
| |||
0 commit comments