Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion Sources/WasmKit/Execution/Errors.swift
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ struct Backtrace: CustomStringConvertible, Sendable {
}

/// An error that occurs during execution of a WebAssembly module.
struct Trap: Error, CustomStringConvertible {
public struct Trap: Error, CustomStringConvertible {
/// The reason for the trap.
var reason: TrapReason

Expand Down
1 change: 0 additions & 1 deletion Sources/WasmKitGDBHandler/WasmKitGDBHandler.swift
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@
}

private func hexDump<I: FixedWidthInteger>(_ value: I, endianness: Endianness) -> String {

var buffer = self.allocator.buffer(capacity: MemoryLayout<I>.size)
buffer.writeInteger(value, endianness: endianness)
return buffer.hexDump(format: .compact)
Expand Down