We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 657315a + bef59f7 commit 9aa7ec1Copy full SHA for 9aa7ec1
unittests/runtime/LongTests/CMakeLists.txt
@@ -38,6 +38,14 @@ if(("${SWIFT_HOST_VARIANT_SDK}" STREQUAL "${SWIFT_PRIMARY_VARIANT_SDK}") AND
38
$<TARGET_OBJECTS:swiftRuntime${SWIFT_PRIMARY_VARIANT_SUFFIX}>
39
)
40
41
+ # The local stdlib implementation provides definitions of the swiftCore
42
+ # interfaes to avoid pulling in swiftCore itself. Build the
43
+ # SwiftRuntimeLongTests with swiftCore_EXPORTS to permit exporting the stdlib
44
+ # interfaces.
45
+ target_compile_definitions(SwiftRuntimeLongTests
46
+ PRIVATE
47
+ swiftCore_EXPORTS)
48
+
49
# FIXME: cross-compile for all variants.
50
target_link_libraries(SwiftRuntimeLongTests
51
swiftCore${SWIFT_PRIMARY_VARIANT_SUFFIX}
0 commit comments