Hi, Can I convert .klib to .wasm? (in intelliJ as ...
# webassembly
h
Hi, Can I convert .klib to .wasm? (in intelliJ as possible)
a
Wasm target is not ready yet. You can try to use obsolete kotlin-native to wasm compiler, but it is better to wait a bit
h
thanks. I already used kotlinc-native. My concern is how connect kotlinjs to kotlinwasm in multiplatform.
a
No way to do it directly. You have to compile modules separately and then use build logic to bind them during deploy.
b
This might be useful for you as a reference
h
thank. I'm windows user, but try.
a
Windows with WSL compiles linux binaries quite well
h
yes, but kotlinc-native for window is quitly good and handy(I had made gradle execute task ^^)