Enable or disable the ability to create a [`SharedMemory`](crate::SharedMemory). The WebAssembly threads proposal, configured by [`Config::wasm_threads`] is on-by-default but there are enough deficiencies in Wasmtime's implementation and API integration that creation of a shared memory is disabled by default. This configuration knob can be used to enable this. When enabling this method be aware
(&mut self, enable: bool)
| 3208 | /// |
| 3209 | /// This option is `false` by default. |
| 3210 | pub fn shared_memory(&mut self, enable: bool) -> &mut Self { |
| 3211 | self.shared_memory = enable; |
| 3212 | self |
| 3213 | } |
| 3214 | |
| 3215 | /// Specifies whether support for concurrent execution of WebAssembly is |
| 3216 | /// supported within this store. |
no outgoing calls