Skip to content

Commit 5f21d5d

Browse files
WasmParser: Relax max number of locals
It seems like some programs can reach the limit... We will revert this once we find the root cause in the toolchain side.
1 parent 913d3f6 commit 5f21d5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/WasmParser/ParsingLimits.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ struct ParsingLimits {
77

88
/// The default limits for parsing.
99
static var `default`: ParsingLimits {
10-
return ParsingLimits(maxFunctionLocals: 50000)
10+
return ParsingLimits(maxFunctionLocals: 100000)
1111
}
1212
}

0 commit comments

Comments
 (0)