Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add linuxArm64 and wasmJs targets #166

Merged
merged 10 commits into from
Apr 24, 2024
Merged

Add linuxArm64 and wasmJs targets #166

merged 10 commits into from
Apr 24, 2024

Conversation

ajalt
Copy link
Owner

@ajalt ajalt commented Apr 24, 2024

Kotest added support for wasm a whiel ago, but hasn't made a release since then. Rather than waiting any longer, we use a snapshot build of kotest for now. It's only a test dependency, so it doesn't affect the published mordant artifacts.

Wasm was a bit of a pain: you can't share much code between it and JS, because wasm introduces a JsAny, while js uses dynamic. The js() function also works differently between the two targets. Finally, wasm seems to translate \r to \r\n when printing, so I had to work around that for animations.

Fixes #155

@ajalt ajalt enabled auto-merge (squash) April 24, 2024 18:17
@ajalt ajalt merged commit 63fa456 into master Apr 24, 2024
5 checks passed
@ajalt ajalt deleted the new-mpp-targets branch April 24, 2024 18:48
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.

Support for target linuxArm64
1 participant