bytecodealliance / bytecodealliance/wit-deps

Use Wasm to hash dep components, rather than `tar`

Open
#25 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
91
Forks
12
PR merge metrics
No merged PRs in 30d

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?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.