bytecodealliance / bytecodealliance/cargo-component

Could cargo-component auto-compose components?

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

Description

Currently if I add a `[package.metadata.component.dependencies]` section to a component with `path = '...'` the final output of `cargo component build` has an import of an instance. Could it be possible to automatically run `wasm-tools compose` or the equivalent thereof to have the final component bundled in the artifact?

Naively I thought this already happened, so I figure that an option, even if off-by-default, might be good to have

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.