Skip to content

Commit

Permalink
Change change export name mangling to match expectations (dotnet#100652)
Browse files Browse the repository at this point in the history
  • Loading branch information
lewing authored and matouskozak committed Apr 30, 2024
1 parent 75c85e9 commit ea05022
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tasks/WasmAppBuilder/PInvokeTableGenerator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ private string CEntryPoint(PInvoke pinvoke)
if (pinvoke.WasmLinkage)
{
// We mangle the name to avoid collisions with symbols in other modules
return _fixupSymbolName($"{pinvoke.Module}_{pinvoke.EntryPoint}");
return _fixupSymbolName($"{pinvoke.Module}#{pinvoke.EntryPoint}");
}
return _fixupSymbolName(pinvoke.EntryPoint);
}
Expand Down

0 comments on commit ea05022

Please sign in to comment.