Skip to content

Preserve comments from wit file in the binary #229

Open

Description

@luantak

Comments from the wit file are already copied to the bindings.rs file.

These should also be contained in the final component, so that wasm-tools component wit can provide some useful documentation on the component.

Activity

  1. pchickey commented on Feb 6, 2024

    @pchickey
    Contributor

    I agree this would be a valuable feature! This is an issue for the component model spec - it has been discussed WebAssembly/component-model#213 but has not yet been implemented yet.

  2. James-Mart commented on Mar 5, 2024

    @James-Mart

    Commenting just to express support for this. Currently the raw wit needs to be published alongside the final components if we want tooling to show the interface documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions