bytecodealliance / bytecodealliance/cargo-component

`cargo component check --workspace` should not generate bindings for workspace members without `[package.metadata.component]` set

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

Description

I have a workspace that has some components within it so I am using `cargo component check --workspace` to check that all of the workspace members are working. However, one workspace member is a host and not a guest program. This means it has a `wit` directory but cargo-component should still treat it as a normal Rust binary and not attempt to generate binaries. Presumably if `[package.metadata.component]` is not set in the Cargo.toml manifest, then it should be safe to assume that the crate is not meant to be compiled as a component using cargo-component.

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.