You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add configuration knobs and enable the WebAssembly compact-import-section proposal #14108
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.
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!
@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!
Activity
chacailline commentedon Aug 19, 2026
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:
wasm-smithgeneration for compact imports (it doesn't currently AFAICT), and enable it inwasmtimefuzzing config.Anything else?
alexcrichton commentedon Aug 19, 2026
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
Configmethod, 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!alexcrichton commentedon Sep 11, 2026
@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!
chacailline commentedon Sep 11, 2026
Thank you! I am working on this, and expect to have a PR today or tomorrow.
alexcrichton commentedon Oct 14, 2026
Done in #14335