[Wasm] Implement IrLinkageError end enable partial linker

KT-58088
This commit is contained in:
Igor Yakovlev
2024-03-04 13:58:33 +01:00
committed by Space Team
parent 2e787c50be
commit c0f387dbd1
4 changed files with 18 additions and 1 deletions
@@ -795,7 +795,7 @@ class K2JsIrCompiler : CLICompiler<K2JSCompilerArguments>() {
mode = arguments.partialLinkageMode,
logLevel = arguments.partialLinkageLogLevel,
compilerModeAllowsUsingPartialLinkage =
/* disabled for WASM for now */ !arguments.wasm && /* no PL when producing KLIB */ arguments.includes != null,
/* no PL when producing KLIB */ arguments.includes != null,
onWarning = { messageCollector.report(WARNING, it) },
onError = { messageCollector.report(ERROR, it) }
)