I downloaded the native windows 0.4 trying to compile to wasm32. As start I just use a simple main prtln Hello World example. Im not using any IDE, just plain command line directly from the compiler’s bin dir.
This compiles to an exe file that executes and prints to screen, so far so good.
When setting compiler option to -target wasm32 the compiler aborts
exception: org.jetbrains.kotlin.konan.target.TargetSupportException: Unknown target: wasm. Use -list_targets to see the list of available targets
konanc -list_targets gives mingw: (default)
thats it. The compiler version is
kotlinc-native 1.1.60-dev-299 (JRE 1.8.0_152-b16)