fix(wasm): preserve leading BOM in custom section names (#2102)

This commit is contained in:
xin zhuang
2026-10-12 18:39:01 +08:00
committed by GitHub
parent 621cee192d
commit abc8c6dadf
5 changed files with 30 additions and 5 deletions
+2
View File
@@ -12,3 +12,5 @@ WABT and compares exact producer output against the public CLI/MCP surfaces.
`custom-names.wat` covers newlines, quotes, Unicode, backslashes, embedded
section markers and NUL in custom names; objdump displays those names without
escaping and ends each at its first NUL.
It also covers leading U+FEFF, including a name distinct from the special `name`
section, and distinguishes a U+FEFF-only name from an empty name.