Skip to content

Using wkg to manage wit dependencies #9419

@thomastaylor312

Description

@thomastaylor312

Now that we have wkg (from wasm-pkg-tools) available and working for pulling wit dependencies, would people be amenable to using wkg to fetch dependencies in the wasi-* crates in this repo? The main idea here is to start using the packaging tooling in all the places where it makes sense and it would avoid needing to copy/paste interfaces around

The main changes this would entail are

  • We would commit a wkg.lock file in each of the wasi crates
  • Updates to contributing/developer docs to indicate that wkg should be used for updating the dependencies
  • (Optional) We would no longer commit the deps directory and instead fetch at build time. This would require an update to the build pipelines. This isn't a requirement but would make things cleaner

I'm totally fine if people don't want to use this, but wanted to at least bring it up for discussion! If we do want to do this, I can do the work to enable it

Metadata

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