Skip to content

wit-component: Re-export _start while shared-everything link#1339

Merged
alexcrichton merged 1 commit intobytecodealliance:mainfrom
kateinoigakukun:katei/link-wasip1-cli
Dec 18, 2023
Merged

wit-component: Re-export _start while shared-everything link#1339
alexcrichton merged 1 commit intobytecodealliance:mainfrom
kateinoigakukun:katei/link-wasip1-cli

Conversation

@kateinoigakukun
Copy link
Contributor

This is a bit of a hack to componentize a WASI preview1 command module with shared-everything linking. The _start function was not being exported, so wasm-tools component link was failing to link modules with wasi_snapshot_preview1.command.wasm adapter.

This is a bit of a hack to componentize a WASI preview1 command module
with shared-everything linking. The `_start` function was not being
exported, so `wasm-tools component link` was failing to link modules
with `wasi_snapshot_preview1.command.wasm` adapter.
Copy link
Collaborator

@dicej dicej left a comment

Choose a reason for hiding this comment

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

Makes sense to me. Thanks for the PR!

@kateinoigakukun kateinoigakukun marked this pull request as ready for review December 18, 2023 15:30
@alexcrichton alexcrichton merged commit 6544a14 into bytecodealliance:main Dec 18, 2023
@kateinoigakukun kateinoigakukun deleted the katei/link-wasip1-cli branch December 18, 2023 15:53
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.

3 participants