Skip to content

Commit a550b79

Browse files
committed
Revert "Merge pull request #916 from tshortli/fix-wasi-build"
This reverts commit 9042721, reversing changes made to dfa0d24.
1 parent 9042721 commit a550b79

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

Sources/Testing/Discovery.swift

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -86,13 +86,8 @@ struct TestContentRecord<T>: Sendable where T: ~Copyable {
8686
/// with interfaces such as `dlsym()` that expect such a pointer.
8787
#if SWT_NO_DYNAMIC_LINKING
8888
@available(*, unavailable, message: "Image addresses are not available on this platform.")
89-
nonisolated(unsafe) var imageAddress: UnsafeRawPointer? {
90-
get { fatalError() }
91-
set { fatalError() }
92-
}
93-
#else
94-
nonisolated(unsafe) var imageAddress: UnsafeRawPointer?
9589
#endif
90+
nonisolated(unsafe) var imageAddress: UnsafeRawPointer?
9691

9792
/// The underlying test content record loaded from a metadata section.
9893
private var _record: __TestContentRecord

0 commit comments

Comments
 (0)