[Wasm] Add BuiltInsPlatform.WASM
Use it instead of BuiltInsPlatform.JS in klibs
This commit is contained in:
committed by
Space Team
parent
faeafbbe29
commit
02beaa1daa
@@ -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 }
|
||||
|
||||
Reference in New Issue
Block a user