Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion Sources/Testing/Discovery.swift
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,13 @@ struct TestContentRecord<T>: Sendable where T: ~Copyable {
/// with interfaces such as `dlsym()` that expect such a pointer.
#if SWT_NO_DYNAMIC_LINKING
@available(*, unavailable, message: "Image addresses are not available on this platform.")
#endif
nonisolated(unsafe) var imageAddress: UnsafeRawPointer? {
get { fatalError() }
set { fatalError() }
}
#else
nonisolated(unsafe) var imageAddress: UnsafeRawPointer?
#endif

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