Skip to content

Commit 0c53bbf

Browse files
authored
Merge pull request #13132 from compnerd/testable
stdlib: fix the build with macOS long tests
2 parents 49326e0 + bff9edc commit 0c53bbf

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

unittests/runtime/Stdlib.cpp

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,3 +119,23 @@ bool _swift_dictionaryDownCastConditionalIndirect(OpaqueValue *destination,
119119
const void *targetKeyHashable) {
120120
abort();
121121
}
122+
123+
SWIFT_CC(swift) SWIFT_RUNTIME_STDLIB_INTERNAL
124+
int _T0s13_getErrorCodeSiSPyxGs0B0RzlF(void *) {
125+
abort();
126+
}
127+
128+
SWIFT_CC(swift) SWIFT_RUNTIME_STDLIB_INTERNAL
129+
void *_T0s23_getErrorDomainNSStringyXlSPyxGs0B0RzlF(void *) {
130+
abort();
131+
}
132+
133+
SWIFT_CC(swift) SWIFT_RUNTIME_STDLIB_INTERNAL
134+
void *_T0s29_getErrorUserInfoNSDictionaryyXlSgSPyxGs0B0RzlF(void *) {
135+
abort();
136+
}
137+
138+
SWIFT_CC(swift) SWIFT_RUNTIME_STDLIB_INTERNAL
139+
void *_T0s32_getErrorEmbeddedNSErrorIndirectyXlSgSPyxGs0B0RzlF(void *) {
140+
abort();
141+
}

0 commit comments

Comments
 (0)