Skip to content

Conversation

pchickey
Copy link
Contributor

@pchickey pchickey commented Jun 27, 2025

Updates to use dicej/component-init#7 and dicej/component-init#10:

  • eliminate dependency on wasm-convert, swap out for wasm-encoder::reencode.
  • component-init is now published on crates.io as component-init-transform. Use the published crate.
  • update to wasm-tools versions matching component-init
  • update wasmtime to latest, not required but just nice to do while we're here
  • eliminate wasi-common dependency, which is unnecessary
  • nonfunctional changes to docs/tests to invoke wasmtime serve -Scli instead of wasmtime serve --wasi common, this was just because I was double-checking that wasi-common wasnt actually used anywhere and I couldn't remember what that old way of doing the cli option even does. They are equivalent.

pchickey added 5 commits June 27, 2025 16:34
* eliminate dependency on wasm-convert
* for the moment, using my branch of component-init. we should publish
  to crates.io once this is validated.
* update to wasm-tools versions matching component-init
* update wasmtime to latest, not required but just nice to do while
  we're here
* eliminate wasi-common dependency, which is unnecessary
@pchickey pchickey changed the title update component-init Update component-init to published component-init-transform Jul 1, 2025
@pchickey pchickey marked this pull request as ready for review July 1, 2025 23:11
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.

Looks great; thanks for doing this!

@dicej dicej merged commit efce864 into bytecodealliance:main Jul 1, 2025
4 checks passed
@pchickey pchickey deleted the pch/update_component_init branch July 2, 2025 00:55
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.

2 participants