[Wasm] Add BuiltInsPlatform.WASM

Use it instead of BuiltInsPlatform.JS in klibs
This commit is contained in:
Svyatoslav Kuzmich
2023-03-29 13:56:12 +02:00
committed by Space Team
parent faeafbbe29
commit 02beaa1daa
3 changed files with 8 additions and 3 deletions
@@ -177,7 +177,7 @@ class KotlinLibraryOnlyIrWriter(output: String, moduleName: String, versions: Ko
}
enum class BuiltInsPlatform {
JVM, JS, NATIVE, COMMON;
JVM, JS, NATIVE, WASM, COMMON;
companion object {
fun parseFromString(name: String): BuiltInsPlatform? = values().firstOrNull { it.name == name }