Open
Description
If you want to link to some c code with a name that is already used, e.g.
int CloseHandle (
void* hObject)
{
return pFuncs->pCloseHandle(hObject);
};
You hit
wasm-ld: error: duplicate symbol: CloseHandle
>>> defined in C:/git/CMSDevA/src/packages/runtime.browser-wasm.microsoft.dotnet.ilcompiler.llvm/10.0.0-dev/sdk/libPortableRuntime.a(PalRedhawkUnix.cpp.o)
>>> defined in C:\\git\\CMSDevA\\lib\\Xpf\\Others\\Others\\AvaloniaUI.Xpf.WinApiShim.Native.o
(from Discord https://discord.com/channels/143867839282020352/1141126727028985877/1312127937109299412)