Skip to content

Add wasmJs target [WIP]#724

Closed
luca992 wants to merge 1 commit into
icerockdev:developfrom
luca992:wasmJs
Closed

Add wasmJs target [WIP]#724
luca992 wants to merge 1 commit into
icerockdev:developfrom
luca992:wasmJs

Conversation

@luca992

@luca992 luca992 commented May 27, 2024

Copy link
Copy Markdown
Contributor

This isn't quite working yet, but started adding support for wasmJs. It will build, but generated code for wasmJs doesn't work because wasmJs only supports calling js code in top level functions:

Calls to 'js(code)' should be a single expression inside a top-level function body or a property initializer in Kotlin/Wasm.

Also, requires an updated moko-graphics with wasmJs added

It could also probably be cleaned up to share more code with the js target.

In wasmJs generated code have to handle:

Calls to 'js(code)' should be a single expression inside a top-level function body or a property initializer in Kotlin/Wasm.
@Alex009 Alex009 added this to the 0.25.0 milestone May 27, 2024
@Tetraquark Tetraquark mentioned this pull request Jun 9, 2025
@Alex009

Alex009 commented Jun 23, 2025

Copy link
Copy Markdown
Member

continued in #822

@Alex009 Alex009 closed this Jun 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants