Skip to content

Use Wasm to hash dep components, rather than tar #25

Open
@rvolosatovs

Description

Refs #24

Instead of tar-packing the dependencies to compute the digest, use https://github.com/bytecodealliance/wasm-tools to assemble a Wasm containing all the interfaces and worlds within the fetched package and hash that.
For a given dependency X, produce deps/X.wasm alongside deps/X directory for backwards compatibility at least until the released version of https://github.com/bytecodealliance/wit-bindgen can take Wasm as input

  • Given the state of tooling today, it appears that WIT package->Wasm direction is covered, what about Wasm->(expanded) WIT package?

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions