bytecodealliance / bytecodealliance/wasm-pkg-tools

Failing to fetch WIT for published component

Open
#160 0 comments 1 reaction 0 assignees View on GitHub
bug
Dominant language
Rust
Stars
160
Forks
42
Avg merge
7h 57m
Merged PRs (30d)
3

Description

I've published a `calculator` component to `ghcr.io/bytecodealliance/docs/calculator:0.1.0`. Running the following fails to output the wit, rather the output `calculator.wit` file is actually the Wasm component:
```sh
wkg get --format wit docs:calculator@0.1.0 --output calculator.wit --registry ghcr.io
```

Note that a component with no dependencies such as the following one works as expected
```
wkg get --format wit docs:adder@0.1.0 --output adder.wit --registry ghcr.io
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.