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
4 changes: 2 additions & 2 deletions Sources/Testing/Support/Locked.swift
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ struct Locked<T>: RawRepresentable, Sendable where T: Sendable {
typealias PlatformLock = SRWLOCK
#elseif os(WASI)
// No locks on WASI without multithreaded runtime.
typealias PlatformLock = Void
typealias PlatformLock = Never
#else
#warning("Platform-specific implementation missing: locking unavailable")
typealias PlatformLock = Void
typealias PlatformLock = Never
#endif

/// A type providing heap-allocated storage for an instance of ``Locked``.
Expand Down