hello :wave: i wanted to try to compile kotlin to ...
# kotlin-native
n
hello 👋 i wanted to try to compile kotlin to wasm the documentation points to an executable named
kotlinc-native
https://kotlinlang.org/docs/native-command-line-compiler.html but i’ve installed kotlin with homebrew and i don’t see
kotlinc-native
in the available binaries
Copy code
$ls /usr/local/Cellar/kotlin/1.6.10/bin

kapt          kotlin        kotlin-dce-js kotlinc       kotlinc-js    kotlinc-jvm
do i need something additional? or is an issue with the homebrew recipe?
r
maybe poke around in #webassembly. WASM is no longer part of Kotlin/Native and it's being worked on as a new separate target platform. I don't think there's any precompiled binaries being distributed yet but I haven't been following super closely.
👍 2
n
thanks
l
If you ever do need kotlinc-native, it looks like it's a script that calls run_konan konanc ${parameters}, so you may be able to call that manually.
💡 1
n
thanks @Landry Norris
kotlinc-native
is just the tool what i really want it kotlin -> wasm the documentation mentioned it and the wasm target
konan
seems to be a bit deep for what i want to achieve