Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions src/coreclr/pal/src/init/pal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -685,21 +685,20 @@ PAL_InitializeCoreCLR(const char *szExePath, BOOL runningInExe)
return ERROR_SUCCESS;
}

#ifndef TARGET_WASM // we don't use shared libraries on wasm
#ifndef TARGET_WASM // we don't use shared libraries on wasm and don't support dbg mini dump
// Now that the PAL is initialized it's safe to call the initialization methods for the code that used to
// be dynamically loaded libraries but is now statically linked into CoreCLR just like the PAL, i.e. the
// PAL RT and mscorwks.
if (!LOADInitializeCoreCLRModule())
{
return ERROR_DLL_INIT_FAILED;
}
#endif // !TARGET_WASM

if (!PROCAbortInitialize())
{
printf("PROCAbortInitialize FAILED %d (%s)\n", errno, strerror(errno));
return ERROR_PALINIT_PROCABORT_INITIALIZE;
}
#endif // !TARGET_WASM

return ERROR_SUCCESS;
}
Expand Down
Loading