Skip to content

Emit Producers section when compiling to wasm #96334

Description

@mhmd-azeez

From the official Wasm tool conventions:

The purpose of the producers section is to provide an optional, highly-structured record of all the distinct tools that were used to produce a given WebAssembly module. A primary purpose of this record is to allow broad analysis of toolchain usage in the wild, which can help inform both wasm producers and consumers.

The producers section is a custom section and thus has no semantic effects and can be stripped at any time. Since the producers section is relatively small, tools are encouraged to emit the section or include themselves in an existing section by default, keeping the producers section even in release builds.

This allows tools like https://www.dylibso.com/products/modsurfer/ to identify the source language of a given wasm file.

Activity

  1. ghost added
    needs-area-labelAn area label is needed to ensure this gets routed to the appropriate area owners
    on Dec 27, 2023
  2. ghost added
    untriagedNew issue has not been triaged by the area owner
    on Dec 27, 2023
  3. added
    arch-wasmWebAssembly architecture
    and removed
    needs-area-labelAn area label is needed to ensure this gets routed to the appropriate area owners
    on Dec 31, 2023
  4. added this to the Future milestone on Apr 1, 2024
  5. removed
    untriagedNew issue has not been triaged by the area owner
    on Apr 1, 2024
  6. modified the milestones: Future, 10.0.0 on Oct 7, 2024
  7. pavelsavara commented on Oct 7, 2024

    @pavelsavara
    Member

    related #91049

  8. modified the milestones: 10.0.0, 11.0.0 on Aug 5, 2025
  9. added
    in-prThere is an active PR which will close this issue when it is merged
    on Jul 15, 2026
  10. self-assigned this
    on Jul 15, 2026
  11. modified the milestones: 11.0.0, 12.0.0 on Jul 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Priority:3Work that is nice to havearch-wasmWebAssembly architecturearea-Build-monoin-prThere is an active PR which will close this issue when it is merged

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions