spinframework / spinframework/spin

Guest and host "worlds" don't align

Open
#1,438 6 comments 0 reactions 1 assignee View on GitHub

@rylev is already working on this.

Since Jul 20, 2023.

enhancement
Dominant language
Rust
Stars
6.5k
Forks
310
Avg merge
1d 20h
Merged PRs (30d)
24

Description

We are currently using two different sets of wit documents to define the guest's and the host's view of the spin "world". This is mainly because the guest is using an old version of wit-bindgen (which will be fixed in #1424) where the wit grammar is significantly different than the latest versions.

Ideally these two definitions would be semantically exactly the same, but alas they are not. The host definitions deal with an interface called "config" while the guests require an imported interface called "spin-config". spin-componentize has smoothed over this discrepancy, but in the future it would be ideal if we didn't have to worry about this difference at all.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.