bytecodealliance / bytecodealliance/cargo-component

request: Support multiple package in a single WIT

Open
#325 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
593
Forks
68
PR merge metrics
No merged PRs in 30d

Description

relevent upstream work:

https://github.com/bytecodealliance/wasm-tools/pull/1577
https://github.com/bytecodealliance/wit-bindgen/pull/978

It seems like the latest research of `cargo-component` does not support multi-packages in WITs.

```shell
Caused by:
0: failed to parse local target from directory `/Users/mossaka/Developer/mossaka/hello-component-wasi-http-part2/wit`
1: expected ';', found '{'
--> /Users/mossaka/Developer/mossaka/hello-component-wasi-http-part2/wit/wasi_http.wit:1:23
|
1 | package wasi:io@0.2.0 {
| ^
(base) ➜ hello-component-wasi-http-part2
```

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.