[Wasm, JS] Add a warning that dumping reachability and size infos to file is supported only for Kotlin/Wasm
This commit is contained in:
@@ -376,6 +376,13 @@ class K2JsIrCompiler : CLICompiler<K2JSCompilerArguments>() {
|
||||
)
|
||||
|
||||
return OK
|
||||
} else {
|
||||
if (arguments.irDceDumpReachabilityInfoToFile != null) {
|
||||
messageCollector.report(STRONG_WARNING, "Dumping the reachability info to file is supported only for Kotlin/Wasm.")
|
||||
}
|
||||
if (arguments.irDceDumpDeclarationIrSizesToFile != null) {
|
||||
messageCollector.report(STRONG_WARNING, "Dumping the size of declarations to file is supported only for Kotlin/Wasm.")
|
||||
}
|
||||
}
|
||||
|
||||
val start = System.currentTimeMillis()
|
||||
|
||||
Reference in New Issue
Block a user