https://kotlinlang.org logo
Title
s

sdeleuze

11/26/2017, 11:03 AM
Hey, I wanted to start playing with the WASM support I have been hoping since last year, but I was not able to go very far:
Target WASM32 is not available on the LINUX host
. Any chance to support Linux in next release ?
o

olonho

11/26/2017, 6:27 PM
You can use macOS hosts for now, we can cross-compile toolchain for other hosts as well in upcoming releases (not sure, shall it be Windows or Linux hosts, although)
s

sdeleuze

11/26/2017, 6:40 PM
Is it doable from a Linux machine ? (I have no Mac anymore)
n

napperley

11/26/2017, 8:51 PM
Does end up being very odd that there is no Linux support. Is there a REALLY good reason why there is no Linux support for the WASM target?
Here is a reminder that the Linux desktop is a MAJOR platform widely used by software developers: https://insights.stackoverflow.com/survey/2017#technology-platforms
o

olonho

11/26/2017, 9:40 PM
no real reasons, other that time investment in building the toolchain
t

tapchicoma

11/26/2017, 9:47 PM
so is it possible to build against WASM on linux if I build llvm on my machine with WASM target enabled?
n

napperley

11/26/2017, 10:43 PM
Found this article (uses C for its examples) which provides some information about the toolchain for Linux: https://tutorials.technology/tutorials/11-webassembly-initial-steps-tutorial.html
g

gildor

11/27/2017, 2:23 AM
One more big use case for Linux is CI and CD servers
o

olonho

11/27/2017, 6:25 AM
s

sdeleuze

11/27/2017, 10:04 AM
I guess I will wait it to be properly supported on Linux, thanks for your feedback
n

napperley

11/27/2017, 10:04 PM
Is the situation going to be rectified in time for the v0.5 release?