Skip to content

Commit 4e8b062

Browse files
committed
Mark Debugger.Error as @unchecked Sendable
1 parent a7fac8e commit 4e8b062

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Sources/WasmKit/Execution/Debugger.swift

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
}
4444

4545
package struct Debugger: ~Copyable {
46-
package enum Error: Swift.Error {
46+
package enum Error: Swift.Error, @unchecked Sendable {
4747
case entrypointFunctionNotFound
4848
case unknownCurrentFunctionForResumedBreakpoint(UnsafeMutablePointer<UInt64>)
4949
case noInstructionMappingAvailable(Int)
@@ -130,7 +130,8 @@
130130
iseq.pointee = oldCodeSlot
131131
}
132132

133-
/// Returns: `[Value]` result of `entrypointFunction` if current instance ran to completion, `nil` if it stopped at a breakpoint.
133+
/// - Returns: `[Value]` result of `entrypointFunction` if current instance ran to completion,
134+
/// `nil` if it stopped at a breakpoint.
134135
package mutating func run() throws -> [Value]? {
135136
do {
136137
if let currentBreakpoint {

0 commit comments

Comments
 (0)