Commit 996f5aa
committed
Remove error for invalid swift caching configuration
Currently, swift-driver emits an error when trying to importing a swift
binary module that has a bridging header when swift caching is enabled.
This turns out to be a very common configuration that we need to
support.
It turns out most of the time, allowing the compilation to continue will
result in a successful compilation. Even though in rare occasions where
multiple bridging headers from the dependencies are involved with
overlapping content, the compilation is going to fail with confusing
error message, we will address that in swift compiler instead.
Thus the current error message is removed to allow more supported
projects.
(cherry picked from commit d091f6d)1 parent ef78a65 commit 996f5aa
File tree
3 files changed
+3
-11
lines changed- Sources/SwiftDriver
- ExplicitModuleBuilds
- SwiftScan
- Tests/SwiftDriverTests
3 files changed
+3
-11
lines changedLines changed: 0 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
264 | 264 | | |
265 | 265 | | |
266 | 266 | | |
267 | | - | |
268 | | - | |
269 | | - | |
270 | | - | |
271 | | - | |
272 | 267 | | |
273 | 268 | | |
274 | 269 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
39 | 38 | | |
40 | 39 | | |
41 | 40 | | |
| |||
61 | 60 | | |
62 | 61 | | |
63 | 62 | | |
64 | | - | |
65 | | - | |
66 | 63 | | |
67 | 64 | | |
68 | 65 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
709 | 709 | | |
710 | 710 | | |
711 | 711 | | |
712 | | - | |
713 | | - | |
714 | | - | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
715 | 715 | | |
716 | 716 | | |
717 | 717 | | |
| |||
0 commit comments