Skip to content

Commit a2c701e

Browse files
committed
Fix build error
1 parent e7a5287 commit a2c701e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Sources/WasmKit/Execution/Debugger.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
/// - Parameter value: the array element to search for or to use as a baseline when searching.
66
/// - Returns: array element `result`, where `result - value` is the smallest possible, while
77
/// `result > value` also holds.
8-
fileprivate func binarySearch(nextClosestTo value: Int) -> Int? {
8+
package func binarySearch(nextClosestTo value: Int) -> Int? {
99
switch self.count {
1010
case 0:
1111
return nil

Tests/WasmKitTests/ExecutionTests.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ struct ExecutionTests {
110110
"""
111111
) { trap in
112112
#expect(
113-
trap.backtrace?.symbols.compactMap(\.?.name) == [
113+
trap.backtrace?.symbols.compactMap(\.name) == [
114114
"foo",
115115
"bar",
116116
"_start",
@@ -137,7 +137,7 @@ struct ExecutionTests {
137137
"""
138138
) { trap in
139139
#expect(
140-
trap.backtrace?.symbols.compactMap(\.?.name) == [
140+
trap.backtrace?.symbols.compactMap(\.name) == [
141141
"wasm function[1]",
142142
"bar",
143143
"_start",

0 commit comments

Comments
 (0)