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 Wasm support #374

Merged
merged 8 commits into from
Oct 10, 2023
Merged

Add Wasm support #374

merged 8 commits into from
Oct 10, 2023

Conversation

findjigar
Copy link
Contributor

@findjigar findjigar commented Sep 26, 2023

Fixes #362

  • Added new common jsWasmMain/Test sourceSet and pointed both js and wasm to depend on that
  • Added wasm-browser sample app (check screenshot below)

Sample browser console screenshot

Screenshot 2023-09-26 at 3 57 06 PM

Copy link
Contributor

@russhwolf russhwolf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I haven't run anything, but here's some thoughts from a visual inspection

kermit-core/build.gradle.kts Outdated Show resolved Hide resolved
kermit-core/build.gradle.kts Show resolved Hide resolved
@@ -10,7 +10,7 @@ jobs:
build:
strategy:
matrix:
os: [macOS-latest, windows-latest]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm a little uncomfortable turning this off but I'm also not clear anymore what this was originally doing, since there's very little windows-specific code.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's temporary for this PR to pass the checks. There is PR open to re-enable it #375

kermit/build.gradle.kts Outdated Show resolved Hide resolved
samples/sample/app-browser/build.gradle.kts Show resolved Hide resolved
@findjigar findjigar merged commit c043edb into main Oct 10, 2023
1 check passed
@findjigar findjigar deleted the jb/wasm branch October 10, 2023 20:50
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 the new kotlin WASM target
3 participants