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

Enable WasmWasi target #236

Merged
merged 2 commits into from
Dec 1, 2023
Merged

Enable WasmWasi target #236

merged 2 commits into from
Dec 1, 2023

Conversation

fzhinkin
Copy link
Collaborator

Added WasmWasi target sharing the same source code with WasmJs target for now.

Closes #234

Added WasmWasi target sharing the same source code with WasmJs target for now.

Closes #234
@fzhinkin fzhinkin added the infra label Nov 23, 2023
@fzhinkin fzhinkin requested a review from shanshin November 23, 2023 12:48
@fzhinkin fzhinkin self-assigned this Nov 23, 2023
@fzhinkin fzhinkin linked an issue Nov 23, 2023 that may be closed by this pull request
@fzhinkin fzhinkin requested a review from ilya-g November 30, 2023 10:23
Copy link
Member

@ilya-g ilya-g left a comment

Choose a reason for hiding this comment

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

Nice that the diff is less now

@fzhinkin fzhinkin merged commit 080b027 into develop Dec 1, 2023
1 check passed
@OptIn(org.jetbrains.kotlin.gradle.targets.js.dsl.ExperimentalWasmDsl::class)
wasmWasi {
nodejs()
binaries.executable()
Copy link
Contributor

Choose a reason for hiding this comment

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

@fzhinkin sorry for bothering again, can I ask why you explicitly selected an executable binary?
Wouldn't this be done by consumers of the library?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@lppedd thanks for pointing to this! You're absolutely right, it should be done by consumers and there's absolutely no sense in specifying it for the library. I'll remove it.

fzhinkin added a commit that referenced this pull request Jan 4, 2024
Added WasmWasi target sharing the same source code with WasmJs target for now.

Closes #234
@fzhinkin fzhinkin deleted the wasm-wasi-target-support branch August 27, 2024 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support Wasm Wasi target
3 participants