Sorry, that wasm has had the “name” section removed. Is your toolchain using something like wasm-strip
, ic-wasm shrink
, or wasm-opt
at the end to make the module smaller? If so, could you provide a copy of the module before any of those tools are run?
One way to verify that the “name” section is present is to install wasm-objdump
from WABT and run wasm-objdump -h
on your Wasm file. If you see a line like:
Custom start=0x00218d8c end=0x00229def (size=0x00011063) "name"
then it’s still there.