Skip to content

Add configuration knobs and enable the WebAssembly compact-import-section proposal #14108

Closed

Description

@alexcrichton

This proposal has recently moved to stage 4 support in the CG meaning that modules may start using this by default. We should enable this within Wasmtime and turn it on as well. This won't really require any substantive changes to Wasmtime since the proposal is primarily implemented in wasmparser which already implements this. The main change, though, is that we probably want to enable fuzzing for this proposal as it's not currently implemented.

Activity

  1. chacailline commented on Aug 19, 2026

    @chacailline
    Contributor

    Hi, I'd like to work on this.

    It'll be my first PR, but I see #9403 looks similar. I think I need to:

    • Add wasm-smith generation for compact imports (it doesn't currently AFAICT), and enable it in wasmtime fuzzing config.
    • Follow implementation steps in the docs, and enable the proposal by default.

    Anything else?

  2. alexcrichton commented on Aug 19, 2026

    @alexcrichton
    MemberAuthor

    That's about right yeah, and this'll be a bit easier than most since it has virtually no impact on Wasmtime outside of configuration. For example there's no API changes necessary.

    These are the requirements for enabling a feature by default, so yeah I'd summarize the major missing pieces as (a) fuzzing and (b) configuration. For the configuration side that'd be things like a Config method, a CLI flag, C API, etc. The docs you've found (online here as well) may be a little outdated, but if you'd like to update those along the way with any edits/steps you've done as well that'd be much appreciated!

  3. alexcrichton commented on Sep 11, 2026

    @alexcrichton
    MemberAuthor

    @chacailline if you'd like your work in bytecodealliance/wasm-tools#2627 has now landed in Wasmtime through a wasm-tools update over at #14244. Wasmtime should now be ready to get the configuration option/fuzzing/etc. If you're busy no worries though!

  4. chacailline commented on Sep 11, 2026

    @chacailline
    Contributor

    Thank you! I am working on this, and expect to have a PR today or tomorrow.

  5. alexcrichton commented on Oct 14, 2026

    @alexcrichton
    MemberAuthor

    Done in #14335

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions