bytecodealliance / bytecodealliance/cargo-component

Support bindings wrapper crates that can be used in component implementation crates

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

Description

This is a continuation of #75, which exposes the use case. Quoting @peterhuene here:

For the feature request, I think it would be along the lines of:

1. Allow component metadata in `lib` packages that aren't `cdylib`; only generate bindings.
2. Do not attempt to componentize the output of such packages (i.e. there is no `.wasm` output).
3. Ensure that linking in multiple custom sections containing wit-bindgen metadata sourced from those rlibs is properly combined when componentizing the final component (i.e. the `cdylib` or `bin` package that link the rlibs).

_Originally posted by @peterhuene in https://github.com/bytecodealliance/cargo-component/issues/75#issuecomment-1532045573_

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.