Skip to content

Remove wasm-pkg-common as dependency #3166

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

Closed
wants to merge 1 commit into from
Closed

Conversation

rylev
Copy link
Collaborator

@rylev rylev commented Jun 18, 2025

Fixes #3165

I'm not sure if this is the way we'd like to address this issue. It does involve copying a few definitions from wasm-pkg-common, but perhaps that's easiest?

@rylev rylev requested review from lann and itowlson June 18, 2025 15:12
@lann
Copy link
Collaborator

lann commented Jun 18, 2025

wasm-pkg-common has a tokio feature that could maybe be turned off?

@lann
Copy link
Collaborator

lann commented Jun 18, 2025

It looks like it hasn't been tested and is probably broken but that can probably be resolved relatively easily.

@itowlson itowlson requested a review from fibonacci1729 June 18, 2025 21:11
@rylev
Copy link
Collaborator Author

rylev commented Jun 19, 2025

For spin-test the real need is that spin-manifest can be compiled to the wasm32-wasip1 target. Unfortunately, wasm-pkg-common without tokio still cannot be compiled to wasm because of a dependency on the home crate which does not support wasi. I've opened an issue on the wasm-pkg-common repo: bytecodealliance/wasm-pkg-tools#162

Signed-off-by: Ryan Levick <ryan.levick@fermyon.com>
@rylev rylev force-pushed the remove-wasm-pkg-dep branch from f53393d to 78c77f3 Compare June 19, 2025 12:38
@lann
Copy link
Collaborator

lann commented Jun 19, 2025

@rylev
Copy link
Collaborator Author

rylev commented Jun 20, 2025

Thanks @lann!! Closing in favor of #3171

@rylev rylev closed this Jun 20, 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.

Remove the wasm_pkg_common dependency from spin-manifest (or make it optional)
4 participants