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 dfa0d24 + 893389f commit 9042721Copy full SHA for 9042721
Sources/Testing/Discovery.swift
@@ -86,8 +86,13 @@ struct TestContentRecord<T>: Sendable where T: ~Copyable {
86
/// with interfaces such as `dlsym()` that expect such a pointer.
87
#if SWT_NO_DYNAMIC_LINKING
88
@available(*, unavailable, message: "Image addresses are not available on this platform.")
89
-#endif
+ nonisolated(unsafe) var imageAddress: UnsafeRawPointer? {
90
+ get { fatalError() }
91
+ set { fatalError() }
92
+ }
93
+#else
94
nonisolated(unsafe) var imageAddress: UnsafeRawPointer?
95
+#endif
96
97
/// The underlying test content record loaded from a metadata section.
98
private var _record: __TestContentRecord
0 commit comments