Skip to content

Commit 99092c4

Browse files
committed
Revert "Try a different workaround"
This reverts commit 989ab32.
1 parent df6ca31 commit 99092c4

File tree

3 files changed

+0
-19
lines changed

3 files changed

+0
-19
lines changed

Sources/Testing/ABI/EntryPoints/ABIEntryPoint.swift

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,6 @@ extension ABIv0 {
5555
}
5656
}
5757

58-
#if !SWT_FIXED_SWIFTPM_8111 && os(Windows)
59-
@_spi(__Workaround8111)
60-
@_cdecl("swt_abiv0_getEntryPoint")
61-
public func abiv0_getEntryPoint() -> UnsafeRawPointer {
62-
unsafeBitCast(ABIv0.entryPoint, to: UnsafeRawPointer.self)
63-
}
64-
#else
6558
/// An exported C function that is the equivalent of
6659
/// ``ABIv0/entryPoint-swift.type.property``.
6760
///
@@ -71,7 +64,6 @@ public func abiv0_getEntryPoint() -> UnsafeRawPointer {
7164
@usableFromInline func abiv0_getEntryPoint() -> UnsafeRawPointer {
7265
unsafeBitCast(ABIv0.entryPoint, to: UnsafeRawPointer.self)
7366
}
74-
#endif
7567

7668
#if !SWT_NO_SNAPSHOT_TYPES
7769
// MARK: - Xcode 16 Beta 1 compatibility

Sources/Testing/Issues/Issue+Recording.swift

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -199,13 +199,6 @@ extension Issue {
199199
#endif
200200
@usableFromInline nonisolated(unsafe) var failureBreakpointValue = 0
201201

202-
#if !SWT_FIXED_SWIFTPM_8111 && os(Windows)
203-
@inline(never)
204-
@_spi(__Workaround8111)
205-
func failureBreakpoint() {
206-
failureBreakpointValue = 0
207-
}
208-
#else
209202
/// A function called by the testing library when a failure occurs.
210203
///
211204
/// Whenever a test failure (specifically, a non-known ``Issue``) is recorded,
@@ -239,4 +232,3 @@ func failureBreakpoint() {
239232
// cannot be optimized away.
240233
failureBreakpointValue = 0
241234
}
242-
#endif

Tests/TestingTests/MiscellaneousTests.swift

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@
99
//
1010

1111
@testable @_spi(Experimental) @_spi(ForToolsIntegrationOnly) import Testing
12-
#if !SWT_FIXED_SWIFTPM_8111 && os(Windows)
13-
@testable @_spi(__Workaround8111) import Testing
14-
#endif
1512

1613
@Test(/* name unspecified */ .hidden)
1714
@Sendable func freeSyncFunction() {}

0 commit comments

Comments
 (0)