Commit 6817849
committed
Pass down SDK name to the compiler by default
The compiler uses the -target-sdk-name flag information to restrict
which swiftmodules can be loaded and which should be ignored. This
prevents preventable crash when swiftmodules are copied between
mismatching SDKs.
rdar://831042651 parent c771555 commit 6817849
File tree
2 files changed
+1
-3
lines changed- Sources/SwiftDriver/Toolchains
- Tests/SwiftDriverTests
2 files changed
+1
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
377 | 377 | | |
378 | 378 | | |
379 | 379 | | |
380 | | - | |
381 | | - | |
| 380 | + | |
382 | 381 | | |
383 | 382 | | |
384 | 383 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3931 | 3931 | | |
3932 | 3932 | | |
3933 | 3933 | | |
3934 | | - | |
3935 | 3934 | | |
3936 | 3935 | | |
3937 | 3936 | | |
| |||
0 commit comments