[Wasm] Add box and stdlib tests in wasi mode
This commit is contained in:
committed by
Zalim Bashorov
parent
f42d0b1ed4
commit
983991d46c
+1
-2
@@ -5,5 +5,4 @@ private external fun evalToBoolean(code: String): Boolean
|
||||
|
||||
fun isLegacyBackend(): Boolean =
|
||||
// Using eval to prevent DCE from thinking that following code depends on Kotlin module.
|
||||
evalToBoolean("(typeof Kotlin != \"undefined\" && typeof Kotlin.kotlin != \"undefined\")")
|
||||
|
||||
evalToBoolean("(typeof Kotlin != \"undefined\" && typeof Kotlin.kotlin != \"undefined\")")
|
||||
Reference in New Issue
Block a user