File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ let package = Package(
28
28
products: [
29
29
. library(
30
30
name: " Testing " ,
31
+ type: . dynamic, // needed so Windows exports ABI entry point symbols
31
32
targets: [ " Testing " ]
32
33
) ,
33
34
] ,
Original file line number Diff line number Diff line change @@ -129,7 +129,6 @@ struct ABIEntryPointTests {
129
129
passing arguments: __CommandLineArguments_v0 ,
130
130
recordHandler: @escaping @Sendable ( _ recordJSON: UnsafeRawBufferPointer ) -> Void = { _ in }
131
131
) async throws -> Bool {
132
- #if !(!SWT_FIXED_SWIFTPM_8111 && os(Windows))
133
132
#if !os(Linux) && !os(FreeBSD) && !os(Android) && !SWT_NO_DYNAMIC_LINKING
134
133
// Get the ABI entry point by dynamically looking it up at runtime.
135
134
//
@@ -143,7 +142,6 @@ struct ABIEntryPointTests {
143
142
}
144
143
)
145
144
}
146
- #endif
147
145
#endif
148
146
let abiEntryPoint = unsafeBitCast ( abiv0_getEntryPoint ( ) , to: ABIv0 . EntryPoint. self)
149
147
You can’t perform that action at this time.
0 commit comments