You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

4.3 KiB

WebAssembly Proposals Support

The following table summarizes Wasmtime's support for WebAssembly proposals as well as the command line flag and wasmtime::Config method you can use to enable or disable support for a proposal.

If a proposal is not listed, then it is not supported by Wasmtime.

Wasmtime will never enable a proposal by default unless it has reached phase 4 of the WebAssembly standardizations process and its implementation in Wasmtime has been thoroughly vetted.

WebAssembly Proposal Supported in Wasmtime? Command Line Name Config Method
Import and Export Mutable Globals Yes.
Always enabled.
(none) (none)
Sign-Extension Operations Yes.
Always enabled.
(none) (none)
Non-Trapping Float-to-Int Conversions Yes.
Always enabled.
(none) (none)
Multi-Value Yes.
Enabled by default.
multi-value wasm_multi_value
Bulk Memory Operations Yes.
Enabled by default.
bulk-memory wasm_bulk_memory
Reference Types Yes.
Enabled by default.
reference-types wasm_reference_types
Fixed-Width SIMD Yes.
Enabled by default.
simd wasm_simd
Threads and Atomics In progress. threads wasm_threads
Multi-Memory Yes. multi-memory wasm_multi_memory
Component Model In progress. component-model wasm_component_model
Memory64 Yes. memory64 wasm_memory64

The "Command Line Name" refers to the --wasm-features CLI argument of the wasmtime executable and the name which must be passed to enable it.