Commit 91a2bf7
Alessandro Patti
Do not force multi-threaded mode with wmo
When multi-threaded mode is enabled, the compiler tries to generate one
object file per source file. This makes us hit a known issue where linking
static libraries fails in loading types metadata, raising
`"failed to demangle superclass of MyClass from mangled name '<mangled name>'"`.
Using single thread wmo makes the compiler generate a single object
file, so all symbols are linked.
Ref. https://developer.apple.com/documentation/xcode_release_notes/xcode_10_2_release_notes/swift_5_release_notes_for_xcode_10_2#31368591 parent f7f4c14 commit 91a2bf7
1 file changed
+0
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
476 | 476 | | |
477 | 477 | | |
478 | 478 | | |
479 | | - | |
480 | | - | |
481 | | - | |
482 | | - | |
483 | | - | |
484 | | - | |
485 | | - | |
486 | | - | |
487 | | - | |
488 | 479 | | |
489 | 480 | | |
490 | 481 | | |
| |||
0 commit comments