I was getting errors similar to #918 and #922 (converting a rust lib to WASM) and noted that the stack was overflowing due to the recursion in the _decode() function of the utf8 package.
Changing the implementation to be iterative resolved these errors for me.
I was getting errors similar to #918 and #922 (converting a rust lib to WASM) and noted that the stack was overflowing due to the recursion in the
_decode()
function of theutf8
package.Changing the implementation to be iterative resolved these errors for me.