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 943033e + bd41f66 commit bb4fe4eCopy full SHA for bb4fe4e
unittests/runtime/CMakeLists.txt
@@ -47,6 +47,13 @@ if(("${SWIFT_HOST_VARIANT_SDK}" STREQUAL "${SWIFT_PRIMARY_VARIANT_SDK}") AND
47
$<TARGET_OBJECTS:swiftRuntime${SWIFT_PRIMARY_VARIANT_SUFFIX}>
48
)
49
50
+ # The local stdlib implementation provides definitions of the swiftCore
51
+ # interfaes to avoid pulling in swiftCore itself. Build the SwiftRuntimeTests
52
+ # with swiftCore_EXPORTS to permit exporting the stdlib interfaces.
53
+ target_compile_definitions(SwiftRuntimeTests
54
+ PRIVATE
55
+ swiftCore_EXPORTS)
56
+
57
# FIXME: cross-compile for all variants.
58
target_link_libraries(SwiftRuntimeTests
59
swiftCore${SWIFT_PRIMARY_VARIANT_SUFFIX}
0 commit comments