mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
stdlib: fix the build with macOS long tests
When building swift on macOS with long tests, the build would fail with undefined references to these symbols. The undefined symbols were expected to be present in swiftCore against which we link. However, because the symbols are marked as internal, they would be dead stripped before the dylib was constructed. As a result, we would end up with undefined references to these symbols. Expose the additional internal interfaces for now so that we can build the tests.
This commit is contained in:
@@ -119,3 +119,23 @@ bool _swift_dictionaryDownCastConditionalIndirect(OpaqueValue *destination,
|
||||
const void *targetKeyHashable) {
|
||||
abort();
|
||||
}
|
||||
|
||||
SWIFT_CC(swift) SWIFT_RUNTIME_STDLIB_INTERNAL
|
||||
int _T0s13_getErrorCodeSiSPyxGs0B0RzlF(void *) {
|
||||
abort();
|
||||
}
|
||||
|
||||
SWIFT_CC(swift) SWIFT_RUNTIME_STDLIB_INTERNAL
|
||||
void *_T0s23_getErrorDomainNSStringyXlSPyxGs0B0RzlF(void *) {
|
||||
abort();
|
||||
}
|
||||
|
||||
SWIFT_CC(swift) SWIFT_RUNTIME_STDLIB_INTERNAL
|
||||
void *_T0s29_getErrorUserInfoNSDictionaryyXlSgSPyxGs0B0RzlF(void *) {
|
||||
abort();
|
||||
}
|
||||
|
||||
SWIFT_CC(swift) SWIFT_RUNTIME_STDLIB_INTERNAL
|
||||
void *_T0s32_getErrorEmbeddedNSErrorIndirectyXlSgSPyxGs0B0RzlF(void *) {
|
||||
abort();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user