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
+4
View File
@@ -248,6 +248,10 @@ try {
'"fake"\nSection Details:\n Type start=0x0000000a end=0x0000000b (size=0x00000001) count: 0\n"end"',
'"unicode-é\\\t"',
'"visible"',
'"\uFEFFsection"',
'"\uFEFFname"',
'"\uFEFF"',
'""',
],
);
if (debugNames) {