Skip to content

Commit 4c4975c

Browse files
committed
Runtime tests need stub definitions of certain stdlib functions
(Thanks to @etcwilde for helping me track this down.)
1 parent 5cff703 commit 4c4975c

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

unittests/runtime/Stdlib.cpp

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,15 @@ bool _swift_anyHashableDownCastConditionalIndirect(
6161
abort();
6262
}
6363

64+
// SwiftEquatableSupport
65+
66+
SWIFT_CC(swift) SWIFT_RUNTIME_STDLIB_INTERNAL
67+
bool _swift_stdlib_Equatable_isEqual_indirect(
68+
const void *lhsValue, const void *rhsValue, const Metadata *type,
69+
const void *wt) {
70+
abort();
71+
}
72+
6473
// Casting
6574

6675
SWIFT_CC(swift) SWIFT_RUNTIME_STDLIB_INTERNAL

0 commit comments

Comments
 (0)