Commit 6715b84
authored
Fix incorrect link job options for embedded WASI (#1841)
`WebAssemblyToolchain` didn't check for `parsedOptions.isEmbeddedEnabled` when forming `swiftrt.o` and `static-executable-args.lnk` options, and neither of these files exist when building with Embedded Swift for WASI.1 parent 6ac8b54 commit 6715b84
File tree
2 files changed
+29
-10
lines changed- Sources/SwiftDriver/Jobs
- Tests/SwiftDriverTests
2 files changed
+29
-10
lines changedLines changed: 11 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
| 93 | + | |
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
135 | 138 | | |
136 | | - | |
137 | 139 | | |
138 | 140 | | |
139 | 141 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6861 | 6861 | | |
6862 | 6862 | | |
6863 | 6863 | | |
| 6864 | + | |
| 6865 | + | |
| 6866 | + | |
| 6867 | + | |
| 6868 | + | |
| 6869 | + | |
| 6870 | + | |
| 6871 | + | |
| 6872 | + | |
| 6873 | + | |
| 6874 | + | |
| 6875 | + | |
| 6876 | + | |
| 6877 | + | |
| 6878 | + | |
| 6879 | + | |
| 6880 | + | |
6864 | 6881 | | |
6865 | 6882 | | |
6866 | 6883 | | |
| |||
6874 | 6891 | | |
6875 | 6892 | | |
6876 | 6893 | | |
6877 | | - | |
| 6894 | + | |
6878 | 6895 | | |
6879 | 6896 | | |
6880 | 6897 | | |
| |||
0 commit comments