Skip to content

Commit

Permalink
CODEREVIEW Remove transform task for wasm
Browse files Browse the repository at this point in the history
  • Loading branch information
igoriakovlev committed Aug 16, 2023
1 parent 8508b5f commit 610b693
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ private fun Project.configureTransformationForTarget(target: KotlinTarget) {
}
} else null
}
KotlinPlatformType.js, KotlinPlatformType.wasm -> {
KotlinPlatformType.js -> {
// create transformation task only if transformation is required and JS IR compiler transformation is not enabled
if (config.transformJs && !needsJsIrTransformation(target)) {
project.registerJsTransformTask(compilation)
Expand All @@ -325,6 +325,7 @@ private fun Project.configureTransformationForTarget(target: KotlinTarget) {
}
} else null
}
KotlinPlatformType.wasm -> null
else -> error("Unsupported transformation platform '${target.platformType}'")
}
if (transformTask != null) {
Expand Down

0 comments on commit 610b693

Please sign in to comment.