Skip to content

Commit 55535ed

Browse files
authored
Change change export name mangling to match expectations (#100652)
1 parent d9dcc58 commit 55535ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tasks/WasmAppBuilder/PInvokeTableGenerator.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ private string CEntryPoint(PInvoke pinvoke)
179179
if (pinvoke.WasmLinkage)
180180
{
181181
// We mangle the name to avoid collisions with symbols in other modules
182-
return _fixupSymbolName($"{pinvoke.Module}_{pinvoke.EntryPoint}");
182+
return _fixupSymbolName($"{pinvoke.Module}#{pinvoke.EntryPoint}");
183183
}
184184
return _fixupSymbolName(pinvoke.EntryPoint);
185185
}

0 commit comments

Comments
 (0)